1PKCS7_GET_OCTET_STRING(3ossl) OpenSSL PKCS7_GET_OCTET_STRING(3ossl)
2
3
4
6 PKCS7_get_octet_string - return octet string from a PKCS#7
7 envelopedData structure
8
10 #include <openssl/pkcs7.h>
11
12 ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7);
13
15 PKCS7_get_octet_string() returns a pointer to an ASN1 octet string from
16 a PKCS#7 envelopedData structure or NULL if the structure cannot be
17 parsed.
18
20 As the 0 implies, PKCS7_get_octet_string() returns internal pointers
21 which should not be freed by the caller.
22
24 PKCS7_get_octet_string() returns an ASN1_OCTET_STRING pointer.
25
27 PKCS7_type_is_data(3)
28
30 Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
31
32 Licensed under the Apache License 2.0 (the "License"). You may not use
33 this file except in compliance with the License. You can obtain a copy
34 in the file LICENSE in the source distribution or at
35 <https://www.openssl.org/source/license.html>.
36
37
38
393.0.5 2022-11-01 PKCS7_GET_OCTET_STRING(3ossl)