Constify X509_PUBKEY_get(), X509_PUBKEY_get0(), and X509_PUBKEY_get0_param()
[openssl.git] / doc / man3 / OSSL_CMP_HDR_get0_transactionID.pod
1 =pod
2
3 =head1 NAME
4
5 OSSL_CMP_HDR_get0_transactionID,
6 OSSL_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
20 OSSL_CMP_HDR_get0_transactionID returns the transaction ID of the given
21 PKIHeader.
22
23 OSSL_CMP_HDR_get0_recipNonce returns the recipient nonce of the given PKIHeader.
24
25 =head1 NOTES
26
27 CMP is defined in RFC 4210.
28
29 =head1 RETURN VALUES
30
31 The functions return the intended pointer value as described above
32 or NULL if the respective entry does not exist and on error.
33
34 =head1 HISTORY
35
36 The OpenSSL CMP support was added in OpenSSL 3.0.
37
38 =head1 COPYRIGHT
39
40 Copyright 2007-2019 The OpenSSL Project Authors. All Rights Reserved.
41
42 Licensed under the Apache License 2.0 (the "License").  You may not use
43 this file except in compliance with the License.  You can obtain a copy
44 in the file LICENSE in the source distribution or at
45 L<https://www.openssl.org/source/license.html>.
46
47 =cut