Espressif ESP32-S2 Programming Manual page 564

Table of Contents

Advertisement

Chapter 2. API Reference
Return:
1 : OK
0 : failed
Description:
add CA client certification into the SSL context
Example:
void example(void)
{
int ret;
SSL_CTX *ctx;
X509 *new;
... ...
ret = SSL_add_clSSL_CTX_add_client_CAient_CA(ctx, new);
}
4.4 X509* SSL_get_certificate (const SSL * ssl)
Arguments:
ssl - SSL point
Return:
SSL certification point
Description:
get the SSL certification point
Example:
void example(void)
{
SSL *ssl;
X509 *cert;
... ...
cert = SSL_get_certificate(ssl);
}
4.5 long SSL_get_verify_result (const SSL * ssl)
Arguments:
ssl - SSL point
Return:
the result of verifying
Description:
get the verifying result of the SSL certification
Example:
Espressif Systems
553
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF