openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetSigalgsList()

int32_t HITLS_SetSigalgsList ( HITLS_Ctx ctx,
const uint16_t *  signAlgs,
uint16_t  signAlgsSize 
)

Set the signature algorithm supported by the hitls object.

参数
ctx[OUT] hitls context.
signAlgs[IN] List of supported signature algorithms.
signAlgsSize[IN] Length of the signature algorithm list.
返回值
HITLS_SUCCESS,setsuccessfully. For details about other error codes, see hitls_error.h.