commit | 8053da40579c6ce3933bdfa6515d6ef4f98b6c7a | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Wed Sep 11 22:28:30 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Sep 12 11:57:00 2013 +0200 |
tree | 26031d216de3cfa6fce33c82fb97ade6bd1073b6 | |
parent | d4eb5b51969ac43c5d52605c06cab278ba8191b3 [diff] [blame] |
x509write_csr() now fully using PK internally
diff --git a/include/polarssl/pk.h b/include/polarssl/pk.h index 4ff4747..3bf68f3 100644 --- a/include/polarssl/pk.h +++ b/include/polarssl/pk.h
@@ -365,6 +365,15 @@ */ const char * pk_get_name( const pk_context *ctx ); +/** + * \brief Get the key typee + * + * \param ctx Context to use + * + * \return Type on success, or POLARSSL_PK_NONE + */ +pk_type_t pk_get_type( const pk_context *ctx ); + #ifdef __cplusplus } #endif