openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CERT_CertParseCallBack

typedef HITLS_CERT_X509 *(* CERT_CertParseCallBack) (HITLS_Config *config, const uint8_t *buf, uint32_t len, HITLS_ParseType type, HITLS_ParseFormat format)

Read the certificate.

注意
If the data is loaded to config, config points to the TLS configuration. If the data is loaded to the TLS object, the config command is used only for a single link.
参数
config[IN] TLS link configuration, which can be used to obtain the passwd callback.
buf[IN] Certificate data.
len[IN] Certificate data length.
type[IN] Parsing type.
format[IN] Data format.
返回值
Certificate