1SSL_SESSION_GET0_PEER(3)            OpenSSL           SSL_SESSION_GET0_PEER(3)
2
3
4

NAME

6       SSL_SESSION_get0_peer - get details about peer's certificate for a
7       session
8

SYNOPSIS

10        #include <openssl/ssl.h>
11
12        X509 *SSL_SESSION_get0_peer(SSL_SESSION *s);
13

DESCRIPTION

15       SSL_SESSION_get0_peer() returns the peer certificate associated with
16       the session s or NULL if no peer certificate is available. The caller
17       should not free the returned value (unless X509_up_ref(3) has also been
18       called).
19

RETURN VALUES

21       SSL_SESSION_get0_peer() returns a pointer to the peer certificate or
22       NULL if no peer certificate is available.
23

SEE ALSO

25       ssl(7)
26
28       Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
29
30       Licensed under the OpenSSL license (the "License").  You may not use
31       this file except in compliance with the License.  You can obtain a copy
32       in the file LICENSE in the source distribution or at
33       <https://www.openssl.org/source/license.html>.
34
35
36
371.1.1q                            2022-07-21          SSL_SESSION_GET0_PEER(3)
Impressum