openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CERT_KeyParseCallBack

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

Read the certificate key.

Attention
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 applies only to a single link.
Parameters
config[IN] LTS link configuration, which can be used to obtain the passwd callback.
buf[IN] Private key data
len[IN] Data length
type[IN] Parsing type
format[IN] Data format
Return values
Certificatekey