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