mbedtls_pk_get_type() function
Get the key type
Arguments
ctx
The PK context to use. It must have been initialized.
Return value
Type on success. #MBEDTLS_PK_NONE for a context that has not been set up.
![]()
pk_type = mbedtls_pk_get_type( &crt->pk );
mbedtls_pk_get_type() is called by 2 functions:
![]()
mbedtls_pk_get_type()
mbedtls_pk_get_type() reads 3 variables:
![]()
mbedtls_pk_get_type()