Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File
Permalink

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge Iframe embedding
swh:1:cnt:6e79e9a0e3c399c2851b1ed971a5c98d209c9ff5
=pod

=head1 NAME

OSSL_CMP_HDR_get0_transactionID,
OSSL_CMP_HDR_get0_recipNonce,
OSSL_CMP_HDR_get0_geninfo_ITAVs
- functions manipulating CMP message headers

=head1 SYNOPSIS

  #include <openssl/cmp.h>

  ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_transactionID(const
                                                     OSSL_CMP_PKIHEADER *hdr);
  ASN1_OCTET_STRING *OSSL_CMP_HDR_get0_recipNonce(const
                                                  OSSL_CMP_PKIHEADER *hdr);
 STACK_OF(OSSL_CMP_ITAV)
     *OSSL_CMP_HDR_get0_geninfo_ITAVs(const OSSL_CMP_PKIHEADER *hdr);

=head1 DESCRIPTION

OSSL_CMP_HDR_get0_transactionID returns the transaction ID of the given
PKIHeader.

OSSL_CMP_HDR_get0_recipNonce returns the recipient nonce of the given PKIHeader.

OSSL_CMP_HDR_get0_geninfo_ITAVs() returns the list of ITAVs
in the generalInfo field of the given PKIHeader.

=head1 NOTES

CMP is defined in RFC 4210.

=head1 RETURN VALUES

The functions return the intended pointer value as described above
or NULL if the respective entry does not exist and on error.

=head1 HISTORY

The OpenSSL CMP support was added in OpenSSL 3.0.

OSSL_CMP_HDR_get0_geninfo_ITAVs() was added in OpenSSL 3.3.

=head1 COPYRIGHT

Copyright 2007-2019 The OpenSSL Project Authors. All Rights Reserved.

Licensed under the Apache License 2.0 (the "License").  You may not use
this file except in compliance with the License.  You can obtain a copy
in the file LICENSE in the source distribution or at
L<https://www.openssl.org/source/license.html>.

=cut

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top