Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SSL_CTX_GET0_CERTIF... FreeBSD Library Functions Manual	SSL_CTX_GET0_CERTIF...

NAME
     SSL_CTX_get0_certificate -- get the active	certificate from an SSL	con-
     text

SYNOPSIS
     X509 *
     SSL_CTX_get0_certificate(const SSL_CTX *ctx);

DESCRIPTION
     The SSL_CTX_get0_certificate() function returns an	internal pointer to
     the ASN.1 certificate currently active in ctx or NULL if none was in-
     stalled with SSL_CTX_use_certificate(3) or	similar	functions.

     The returned pointer must not be freed by the caller.

SEE ALSO
     ssl(3), SSL_CTX_new(3), SSL_CTX_use_certificate(3), X509_get_pubkey(3),
     X509_get_subject_name(3), X509_new(3)

HISTORY
     SSL_CTX_get0_certificate()	first appeared in OpenSSL 1.0.2	and have been
     available since OpenBSD 6.3.

FreeBSD	13.0			 June 12, 2019			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SSL_CTX_get0_certificate&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help