OSSL_CMP_HDR_get0_transactionID.pod 1.2 KB

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