1=pod
2
3=head1 NAME
4
5OSSL_CMP_HDR_get0_transactionID,
6OSSL_CMP_HDR_get0_recipNonce,
7OSSL_CMP_HDR_get0_geninfo_ITAVs
8- functions manipulating CMP message headers
9
10=head1 SYNOPSIS
11
12  #include <openssl/cmp.h>
13
14  ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_transactionID(const
15                                                     OSSL_CMP_PKIHEADER *hdr);
16  ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const
17                                                  OSSL_CMP_PKIHEADER *hdr);
18 STACK_OF(OSSL_CMP_ITAV)
19     *OSSL_CMP_HDR_get0_geninfo_ITAVs(const OSSL_CMP_PKIHEADER *hdr);
20
21=head1 DESCRIPTION
22
23OSSL_CMP_HDR_get0_transactionID returns the transaction ID of the given
24PKIHeader.
25
26OSSL_CMP_HDR_get0_recipNonce returns the recipient nonce of the given PKIHeader.
27
28OSSL_CMP_HDR_get0_geninfo_ITAVs() returns the list of ITAVs
29in the generalInfo field of the given PKIHeader.
30
31=head1 NOTES
32
33CMP is defined in RFC 4210.
34
35=head1 RETURN VALUES
36
37The functions return the intended pointer value as described above
38or NULL if the respective entry does not exist and on error.
39
40=head1 HISTORY
41
42The OpenSSL CMP support was added in OpenSSL 3.0.
43
44OSSL_CMP_HDR_get0_geninfo_ITAVs() was added in OpenSSL 3.3.
45
46=head1 COPYRIGHT
47
48Copyright 2007-2019 The OpenSSL Project Authors. All Rights Reserved.
49
50Licensed under the Apache License 2.0 (the "License").  You may not use
51this file except in compliance with the License.  You can obtain a copy
52in the file LICENSE in the source distribution or at
53L<https://www.openssl.org/source/license.html>.
54
55=cut
56