OSSL_CMP_HDR...TRANSACTIONID(3SSL)
π OSSL_CMP_HDR...TRANSACTIONID π
okay bestie, welcome to the 3SSL girlies' corner of the OpenSSL manual, aka the page literally titled OSSL_CMP_HDR...TRANSACTIONID. No cap, 3SSL is just our little section badge π and OpenSSL is, well, OpenSSL. Today's vibe: poking at CMP message headers. It's giving niche but iconic.
β¨ NAME β¨
OSSL_CMP_HDR_get0_transactionID, OSSL_CMP_HDR_get0_recipNonce, OSSL_CMP_HDR_get0_geninfo_ITAVs β the lil functions that do stuff with CMP message headers π«Ά
πΈ SYNOPSIS πΈ
#include <openssl/cmp.h>
ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_transactionID(const
OSSL_CMP_PKIHEADER *hdr);
ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const
OSSL_CMP_PKIHEADER *hdr);
STACK_OF(OSSL_CMP_ITAV)
*OSSL_CMP_HDR_get0_geninfo_ITAVs(const OSSL_CMP_PKIHEADER *hdr);
π¦ DESCRIPTION π¦
so basically, three lil getters. all of them take a PKIHeader and hand you back a pointer into it. that's the whole plot π
OSSL_CMP_HDR_get0_transactionIDβ gives you the transaction ID of the PKIHeader you passed in.OSSL_CMP_HDR_get0_recipNonceβ gives you the recipient nonce of the PKIHeader you passed in.OSSL_CMP_HDR_get0_geninfo_ITAVs()β gives you the list of ITAVs sitting in thegeneralInfofield of the PKIHeader you passed in.
π§ NOTES π§
CMP is defined in RFC 9810. that's the lore β¨
π RETURN VALUES π
every function here returns the intended pointer value, exactly like described up there β, or NULL if the respective entry does not exist and on error. that's it, that's the whole deal. NULL = no vibe, no entry, or something went wrong π
β HISTORY β
- The OpenSSL CMP support was added in OpenSSL 3.0.
OSSL_CMP_HDR_get0_geninfo_ITAVs()was added in OpenSSL 3.3. (she's the new girl and she ate π )
π COPYRIGHT π
Copyright 2007-2019 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, no notes π€ this was OpenSSL 4.0.3, dated 2026-09-29, and yes the manual name really is OSSL_CMP_HDR...TRANSACTIONID(3SSL) β the ellipsis is doing main character energy fr fr. mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: libssl-doc 4.0.3-1ubuntu1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms