GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SSL_CTX_GET0_CERTIFICATE(3) FreeBSD Library Functions Manual SSL_CTX_GET0_CERTIFICATE(3)

SSL_CTX_get0_certificate
get the active certificate from an SSL context

X509 *
SSL_CTX_get0_certificate(const SSL_CTX *ctx);

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

The returned pointer must not be freed by the caller.

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

SSL_CTX_get0_certificate() first appeared in OpenSSL 1.0.2 and have been available since OpenBSD 6.3.
June 12, 2019 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.