diff options
| author | cvs2svn <admin@example.com> | 2015-08-02 21:54:23 +0000 |
|---|---|---|
| committer | cvs2svn <admin@example.com> | 2015-08-02 21:54:23 +0000 |
| commit | 67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a (patch) | |
| tree | 5609c82060f75c53af0a7641d9b33a88574876cd /src/lib/libssl/doc/SSL_get_peer_cert_chain.3 | |
| parent | ed40f444ba01bcae1d8540f9c26d79537ab5baf2 (diff) | |
| download | openbsd-libressl-v2.2.2.tar.gz openbsd-libressl-v2.2.2.tar.bz2 openbsd-libressl-v2.2.2.zip | |
This commit was manufactured by cvs2git to create branch 'OPENBSD_5_8'.libressl-v2.2.2
Diffstat (limited to 'src/lib/libssl/doc/SSL_get_peer_cert_chain.3')
| -rw-r--r-- | src/lib/libssl/doc/SSL_get_peer_cert_chain.3 | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/lib/libssl/doc/SSL_get_peer_cert_chain.3 b/src/lib/libssl/doc/SSL_get_peer_cert_chain.3 deleted file mode 100644 index e4faece5d0..0000000000 --- a/src/lib/libssl/doc/SSL_get_peer_cert_chain.3 +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | .\" | ||
| 2 | .\" $OpenBSD: SSL_get_peer_cert_chain.3,v 1.2 2014/12/02 14:11:01 jmc Exp $ | ||
| 3 | .\" | ||
| 4 | .Dd $Mdocdate: December 2 2014 $ | ||
| 5 | .Dt SSL_GET_PEER_CERT_CHAIN 3 | ||
| 6 | .Os | ||
| 7 | .Sh NAME | ||
| 8 | .Nm SSL_get_peer_cert_chain | ||
| 9 | .Nd get the X509 certificate chain of the peer | ||
| 10 | .Sh SYNOPSIS | ||
| 11 | .In openssl/ssl.h | ||
| 12 | .Ft STACK_OF(X509) * | ||
| 13 | .Fn SSL_get_peer_cert_chain "const SSL *ssl" | ||
| 14 | .Sh DESCRIPTION | ||
| 15 | .Fn SSL_get_peer_cert_chain | ||
| 16 | returns a pointer to | ||
| 17 | .Dv STACK_OF Ns Po Vt X509 Pc | ||
| 18 | certificates forming the certificate chain of the peer. | ||
| 19 | If called on the client side, the stack also contains the peer's certificate; | ||
| 20 | if called on the server side, the peer's certificate must be obtained | ||
| 21 | separately using | ||
| 22 | .Xr SSL_get_peer_certificate 3 . | ||
| 23 | If the peer did not present a certificate, | ||
| 24 | .Dv NULL | ||
| 25 | is returned. | ||
| 26 | .Sh NOTES | ||
| 27 | The peer certificate chain is not necessarily available after reusing a | ||
| 28 | session, in which case a | ||
| 29 | .Dv NULL | ||
| 30 | pointer is returned. | ||
| 31 | .Pp | ||
| 32 | The reference count of the | ||
| 33 | .Dv STACK_OF Ns Po Vt X509 Pc | ||
| 34 | object is not incremented. | ||
| 35 | If the corresponding session is freed, the pointer must not be used any longer. | ||
| 36 | .Sh RETURN VALUES | ||
| 37 | The following return values can occur: | ||
| 38 | .Bl -tag -width Ds | ||
| 39 | .It Dv NULL | ||
| 40 | No certificate was presented by the peer or no connection was established or | ||
| 41 | the certificate chain is no longer available when a session is reused. | ||
| 42 | .It Pointer to a Dv STACK_OF Ns Po X509 Pc | ||
| 43 | The return value points to the certificate chain presented by the peer. | ||
| 44 | .El | ||
| 45 | .Sh SEE ALSO | ||
| 46 | .Xr ssl 3 , | ||
| 47 | .Xr SSL_get_peer_certificate 3 | ||
