2
0

PKCS7_get_octet_string.pod 974 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. =pod
  2. =head1 NAME
  3. PKCS7_get_octet_string - return octet string from a PKCS#7 envelopedData structure
  4. =head1 SYNOPSIS
  5. #include <openssl/pkcs7.h>
  6. ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7);
  7. =head1 DESCRIPTION
  8. PKCS7_get_octet_string() returns a pointer to an ASN1 octet string from a
  9. PKCS#7 envelopedData structure or B<NULL> if the structure cannot be parsed.
  10. =head1 NOTES
  11. As the B<0> implies, PKCS7_get_octet_string() returns internal pointers which
  12. should not be freed by the caller.
  13. =head1 RETURN VALUES
  14. PKCS7_get_octet_string() returns an ASN1_OCTET_STRING pointer.
  15. =head1 SEE ALSO
  16. L<PKCS7_type_is_data(3)>
  17. =head1 COPYRIGHT
  18. Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
  19. Licensed under the Apache License 2.0 (the "License"). You may not use
  20. this file except in compliance with the License. You can obtain a copy
  21. in the file LICENSE in the source distribution or at
  22. L<https://www.openssl.org/source/license.html>.
  23. =cut