1SSL_GET0_PEER_SCTS(3) OpenSSL SSL_GET0_PEER_SCTS(3)
2
3
4
6 SSL_get0_peer_scts - get SCTs received
7
9 #include <openssl/ssl.h>
10
11 const STACK_OF(SCT) *SSL_get0_peer_scts(SSL *s);
12
14 SSL_get0_peer_scts() returns the signed certificate timestamps (SCTs)
15 that have been received. If this is the first time that this function
16 has been called for a given SSL instance, it will examine the TLS
17 extensions, OCSP response and the peer's certificate for SCTs. Future
18 calls will return the same SCTs.
19
21 If no Certificate Transparency validation callback has been set (using
22 SSL_CTX_set_ct_validation_callback or SSL_set_ct_validation_callback),
23 this function is not guaranteed to return all of the SCTs that the peer
24 is capable of sending.
25
27 SSL_get0_peer_scts() returns a list of SCTs found, or NULL if an error
28 occurs.
29
31 ssl(7), SSL_CTX_set_ct_validation_callback(3)
32
34 Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
35
36 Licensed under the OpenSSL license (the "License"). You may not use
37 this file except in compliance with the License. You can obtain a copy
38 in the file LICENSE in the source distribution or at
39 <https://www.openssl.org/source/license.html>.
40
41
42
431.1.1c 2019-05-28 SSL_GET0_PEER_SCTS(3)