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