openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetPrivateKey()

HITLS_CERT_Key * HITLS_GetPrivateKey ( HITLS_Ctx ctx)

Obtain the private key of the certificate in use.

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