CTLOG_STORE_GET0_LOG_BY_ID(3ossl)
β¨ CTLOG_STORE_GET0_LOG_BY_ID β¨
okay bestie, welcome to the 3ossl girlies' corner of the manual pages π
this one is all about digging a specific Certificate Transparency log out of a store by its ID. it's short, it's sweet, it's giving utility function that just works. let's go π«Ά
πΈ NAME πΈ
CTLOG_STORE_get0_log_by_id β get a Certificate Transparency log out of a CTLOG_STORE π
π SYNOPSIS π
#include <openssl/ct.h>
const CTLOG *CTLOG_STORE_get0_log_by_id(const CTLOG_STORE *store,
const uint8_t *log_id,
size_t log_id_len);
look at her. three args, returns a pointer, no drama. iconic behavior fr fr β¨
π¦ DESCRIPTION π¦
so here's the lore π a Signed Certificate Timestamp (SCT for short) is literally the thing that tells you which Certificate Transparency (CT) log went ahead and issued it β and it does that by using the log's LogID (this is all per RFC 6962, Section 3.2, in case you wanna read the source material, and honestly? valid).
so obviously it's super useful to be able to take that LogID and look up more deets about the log β like, say, its public key π
and that's exactly the moment CTLOG_STORE_get0_log_by_id() shows up, main character energy, to save the day. what it does: it finds a CTLOG inside a CTLOG_STORE that has the given LogID. that's it. that's the whole job. and she does it well π
π RETURN VALUES π
CTLOG_STORE_get0_log_by_id returns a CTLOG with the given LogID if it exists in the given CTLOG_STORE β slay π
otherwise? it returns NULL. π no log found, no log returned, we move on.
β SEE ALSO β
go read those too, bestie, they're part of the same little friend group π«Ά
π HISTORY π
the CTLOG_STORE_get0_log_by_id() function was added in OpenSSL 1.1.0. she's been here a minute. veteran queen π
π 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>.
real talk: the license said what it said, and we respect it. don't use this file except in compliance with the License, periodt β
and that's the whole page, no cap πΈ this was CTLOG_STORE_GET0_LOG_BY_ID(3ossl) from OpenSSL 3.5.9, dated 2026-09-29 β thank you for coming to my TED talk, mwah ππ§ββοΈ
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms