5 PKCS7_get_octet_string - return octet string from a PKCS#7 envelopedData structure
9 #include <openssl/pkcs7.h>
11 ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7);
15 PKCS7_get_octet_string() returns a pointer to an ASN1 octet string from a
16 PKCS#7 envelopedData structure or B<NULL> if the structure cannot be parsed.
20 As the B<0> implies, PKCS7_get_octet_string() returns internal pointers which
21 should not be freed by the caller.
25 PKCS7_get_octet_string() returns an ASN1_OCTET_STRING pointer.
29 L<PKCS7_type_is_data(3)>
33 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
35 Licensed under the Apache License 2.0 (the "License"). You may not use
36 this file except in compliance with the License. You can obtain a copy
37 in the file LICENSE in the source distribution or at
38 L<https://www.openssl.org/source/license.html>.