openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetPeerCertificate()

HITLS_CERT_X509 * HITLS_GetPeerCertificate ( const HITLS_Ctx ctx)

Obtain the peer certificate.

Attention
: Certificate reference increments by one.
Parameters
ctx[IN] hitls Context
Return values
Peercertificate