openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetPeerSignScheme()

int32_t HITLS_GetPeerSignScheme ( const HITLS_Ctx ctx,
HITLS_SignHashAlgo peerSignScheme 
)

Obtain the signature hash algorithm used by the peer end.

参数
ctx[IN] TLS connection handle
peerSignScheme[OUT] Peer signature hash algorithm
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.