EasyManua.ls Logo

Espressif ESP32-S2 - Page 564

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents