authentication_t struct
Client authentication Fields related to client authentication by broker For mutual authentication using TLS, user could select certificate and key, secure element or digital signature peripheral if available.
Fields
Certificate for ssl mutual authentication, not required if mutual authentication is not needed. Must be provided with `key`. It's not copied nor freed by the client, user needs to clean up.
Length of the buffer pointed to by certificate.
Private key for SSL mutual authentication, not required if mutual authentication is not needed. If it is not NULL, also `certificate` has to be provided. It's not copied nor freed by the client, user needs to clean up.
Length of the buffer pointed to by key.
Client key decryption password, not PEM nor DER, if provided `key_password_len` must be correctly set.
Length of the password pointed to by `key_password`.
Enable secure element, available in ESP32-ROOM-32SE, for SSL connection.
Carrier of handle for digital signature parameters, digital signature peripheral is available in some Espressif devices. It's not copied nor freed by the client, user needs to clean up.