openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetPrivateKey()

HITLS_CERT_Key * HITLS_CFG_GetPrivateKey ( const HITLS_Config config)

Obtain the private key of the certificate in use.

Attention
The user cannot release the memory.
Parameters
config[IN] TLS link configuration
Return values
Certificateprivate key