openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetLocalSignScheme()

int32_t HITLS_GetLocalSignScheme ( const HITLS_Ctx ctx,
HITLS_SignHashAlgo localSignScheme 
)

Obtain the signature hash algorithm used by the local end.

Parameters
ctx[IN] TLS connection handle
localSignScheme[OUT] Local signature hash algorithm
Return values
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.