1=pod 2 3=head1 NAME 4 5SSL_get_peer_cert_chain - get the X509 certificate chain of the peer 6 7=head1 SYNOPSIS 8 9 #include <openssl/ssl.h> 10 11 STACKOF(X509) *SSL_get_peer_cert_chain(SSL *ssl); 12 13=head1 DESCRIPTION 14 15SSL_get_peer_cert_chain() returns a pointer to STACKOF(X509) certificates 16forming the certificate chain of the peer. If called on the client side, 17the stack also contains the peer's certificate; if called on the server
| 1=pod 2 3=head1 NAME 4 5SSL_get_peer_cert_chain - get the X509 certificate chain of the peer 6 7=head1 SYNOPSIS 8 9 #include <openssl/ssl.h> 10 11 STACKOF(X509) *SSL_get_peer_cert_chain(SSL *ssl); 12 13=head1 DESCRIPTION 14 15SSL_get_peer_cert_chain() returns a pointer to STACKOF(X509) certificates 16forming the certificate chain of the peer. If called on the client side, 17the stack also contains the peer's certificate; if called on the server
|
18side, the peer's certificate must be obtained seperately using
| 18side, the peer's certificate must be obtained separately using
|
19L<SSL_get_peer_certificate(3)|SSL_get_peer_certificate(3)>. 20If the peer did not present a certificate, NULL is returned. 21 22=head1 NOTES 23 24The peer certificate chain is not necessarily available after reusing 25a session, in which case a NULL pointer is returned. 26
--- 26 unchanged lines hidden --- | 19L<SSL_get_peer_certificate(3)|SSL_get_peer_certificate(3)>. 20If the peer did not present a certificate, NULL is returned. 21 22=head1 NOTES 23 24The peer certificate chain is not necessarily available after reusing 25a session, in which case a NULL pointer is returned. 26
--- 26 unchanged lines hidden --- |