|
SSL_get_certificate(3)
Contents
|
SSL_get_certificate - Return an X.509 certificate loaded
in the SSL structure
#include <openssl/ssl.h>
X509 *SSL_get_certificate(
SSL *ssl );
The SSL_get_certificate() function returns an X.509 certificate
loaded in the SSL structure. Before calling this
function, an X509 certificate must be loaded into the SSL
structure with another API (for example, SSL_use_certificate_file(),
SSL_CTX_use_certificate_file(), etc.)
The following return values can occur: No X509 certificate
is loaded in the SSL structure. The return value points
to an X509 certificate in the SSL structure.
Functions: SSL_CTX_use_certificate(3)
SSL_get_certificate(3)
[ Back ] |