Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SSL_get_certificate(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

SSL_CTX_use_certificate(3)

SSL_get_certificate(3)  —  Subroutines

NAME

SSL_get_certificate − Return an X.509 certificate loaded in the SSL structure

SYNOPSIS

#include <openssl/ssl.h>
X509 ∗SSL_get_certificate(
        SSL ∗ssl );

DESCRIPTION

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.) 

RETURN VALUES

The following return values can occur:

NULLNo X509 certificate is loaded in the SSL structure. 

Pointer to an X509 structure
The return value points to an X509 certificate in the SSL structure.

SEE ALSO

Functions: SSL_CTX_use_certificate(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026