SSL_GET0_PEER_SCTS(3ossl)
Hiii bestie π welcome to the 3ossl manual page for SSL_get0_peer_scts β the tiny little accessor that hands you the SCTs that came in. Sheβs short, sheβs useful, and sheβs lowkey iconic.
πΈ NAME πΈ
SSL_get0_peer_scts - get SCTs received
β¨ SYNOPSIS β¨
#include <openssl/ssl.h>
const STACK_OF(SCT) *SSL_get0_peer_scts(SSL *s);
π DESCRIPTION π
SSL_get0_peer_scts() returns the signed certificate timestamps (SCTs) that have been received. If this is the first time that this function has been called for a given SSL instance, it will examine the TLS extensions, OCSP response and the peer's certificate for SCTs. Future calls will return the same SCTs.
Likeβ¦ it does the little detective work once, then remembers the vibe. No cap. π΅οΈββοΈβ¨
π«Ά RESTRICTIONS π«Ά
If no Certificate Transparency validation callback has been set (using SSL_CTX_set_ct_validation_callback or SSL_set_ct_validation_callback), this function is not guaranteed to return all of the SCTs that the peer is capable of sending.
Bestie, read that again: not guaranteed to return all of them. Itβs giving βprobably, but donβt quote me,β so set your callback if you need the full picture. π
π RETURN VALUES π
SSL_get0_peer_scts() returns a list of SCTs found, or NULL if an error occurs.
π¦ SEE ALSO π¦
π COPYRIGHT π
Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at https://www.openssl.org/source/license.html.
Mwah π β this page is from OpenSSL 3.5.6, dated 2026-04-07, and the manual is SSL_GET0_PEER_SCTS(3ossl). πβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms