openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CERT_CtrlCmd

ctrl option

枚举值
CERT_STORE_CTRL_SET_VERIFY_DEPTH 

Set the certificate verification depth.

CERT_STORE_CTRL_ADD_CERT_LIST 

Add ca and chain certificate to store

CERT_CTRL_GET_ENCODE_LEN 

Obtain the length of the certificate code.

CERT_CTRL_GET_PUB_KEY 

Obtaining the Certificate Public Key (Release Required).

CERT_CTRL_GET_SIGN_ALGO 

Obtain the certificate signature algorithm.

CERT_KEY_CTRL_GET_SIGN_LEN 

Obtain the signature length.

CERT_KEY_CTRL_GET_TYPE 

Obtaining the Key Type.

CERT_KEY_CTRL_GET_CURVE_NAME 

Obtain the elliptic curve ID.

CERT_KEY_CTRL_GET_POINT_FORMAT 

Obtains the format of the EC point.

CERT_KEY_CTRL_GET_SECBITS 

Obtain the security bits.

CERT_KEY_CTRL_IS_KEYENC_USAGE 

Is the encryption certificate permission.

CERT_KEY_CTRL_IS_DIGITAL_SIGN_USAGE 

Is it digital signature permission.

CERT_KEY_CTRL_IS_KEY_CERT_SIGN_USAGE 

Is the certificate issuing permission.

CERT_KEY_CTRL_IS_KEY_AGREEMENT_USAGE 

Is it the certificate verification permission.

CERT_CTRL_BUTT