OSSL_CMP_HDR_get0_transactionID(3ssl)

OSSL_CMP_HDR_get0_transactionID3ssl

Functions manipulating cmp message headers

Usage

  #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);

Overview

OSSL_CMP_HDR_get0_transactionID returns the transaction ID of the given PKIHeader.

OSSL_CMP_HDR_get0_recipNonce returns the recipient nonce of the given PKIHeader.

OSSL_CMP_HDR_get0_geninfo_ITAVs() returns the list of ITAVs in the generalInfo field of the given PKIHeader.

Notes

CMP is defined in RFC 9810.

Return values

The functions return the intended pointer value as described above or NULL if the respective entry does not exist and on error.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

History

The OpenSSL CMP support was added in OpenSSL 3.0.

OSSL_CMP_HDR_get0_geninfo_ITAVs() was added in OpenSSL 3.3.

From openssl 3.6.5-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.