SCT_PRINT(3ossl)
π SCT_PRINT(3ossl) β ok bestie, let's print some Signed Certificate Timestamps
Hiii so this is the OpenSSL manual page for SCT_PRINT, and honestly? It's giving "niche but iconic." We're talking about functions that print Signed Certificate Timestamps in a way actual humans can read. β¨
π NAME
SCT_print, SCT_LIST_print, SCT_validation_status_string β these cuties print Signed Certificate Timestamps in a human-readable way. That's the whole vibe. π«Ά
β¨ SYNOPSIS
Like, here's the include and the signatures, exactly as they are, no cap:
#include <openssl/ct.h>
void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs);
void SCT_LIST_print(const STACK_OF(SCT) *sct_list, BIO *out, int indent,
const char *separator, const CTLOG_STORE *logs);
const char *SCT_validation_status_string(const SCT *sct);
πΈ DESCRIPTION
Okay so first up: SCT_print() prints a single Signed Certificate Timestamp (SCT) to a BIO, in a human-readable format. One SCT, one glow-up, one print job. π
SCT_LIST_print() does the same thing but for an entire list of SCTs β group-chat energy, everyone gets printed. And you can specify a separator to delimit each SCT in the output, so like, they don't all blur together. π¦
Both of them let you indent the output by a specified number of spaces. Cute formatting matters, bestie. And if you hand over a CTLOG_STORE, it'll be used to print the description of the CT log that issued each SCT β but only if that log is actually in the CTLOG_STORE, iykyk. Alternatively, you can pass NULL as the CTLOG_STORE parameter to disable this feature entirely. Your call. π
Then there's SCT_validation_status_string(), which returns the validation status of an SCT as a human-readable string. The way that works? You gotta call SCT_validate() or SCT_LIST_validate() beforehand in order to set the validation status of an SCT first. No setting, no status β periodt. β
π RETURN VALUES
SCT_validation_status_string() returns a NUL-terminated string representing the validation status of an SCT object. That's it, that's the return value. π
π₯ SEE ALSO
Go read these too, fr fr:
π HISTORY
These functions were added in OpenSSL 1.1.0. So they're not new new, but they're still serving. π
π COPYRIGHT
Copyright 2016-2018 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>.
And that's the page, bestie!! π§ Version 3.5.0, dated 2026-09-25, brought to you by the OpenSSL girlies β slay, mwah, bye! πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms