mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
x509write_csr() now fully using PK internally
This commit is contained in:
parent
d4eb5b5196
commit
8053da4057
3 changed files with 42 additions and 16 deletions
|
|
@ -365,6 +365,15 @@ int pk_debug( const pk_context *ctx, pk_debug_item *items );
|
|||
*/
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue