logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OSSL_CMP_HDR_get0_transactionID, OSSL_CMP_HDR_get0_recipNonce, OSSL_CMP_HDR_get0_geninfo_ITAVs -

Description

       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.

History

       The OpenSSL CMP support was added in OpenSSL 3.0.

       OSSL_CMP_HDR_get0_geninfo_ITAVs() was added in OpenSSL 3.3.

Name

       OSSL_CMP_HDR_get0_transactionID, OSSL_CMP_HDR_get0_recipNonce, OSSL_CMP_HDR_get0_geninfo_ITAVs -
       functions manipulating CMP message headers

Notes

       CMP is defined in RFC 4210.

Return Values

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

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