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