manpagez: man pages & more
man PKCS7_get_octet_string(3)
Home | html | info | man
PKCS7_GET_OCTET_STRING(3ossl)       OpenSSL      PKCS7_GET_OCTET_STRING(3ossl)



NAME

       PKCS7_get_octet_string - return octet string from a PKCS#7
       envelopedData structure


SYNOPSIS

        #include <openssl/pkcs7.h>

        ASN1_OCTET_STRING *PKCS7_get_octet_string(PKCS7 *p7);


DESCRIPTION

       PKCS7_get_octet_string(3) returns a pointer to an ASN1 octet string from
       a PKCS#7 envelopedData structure or NULL if the structure cannot be
       parsed.


NOTES

       As the PKCS7_get_octet_string(3) returns internal pointers
       which should not be freed by the caller.


RETURN VALUES

       PKCS7_get_octet_string(3) returns an ASN1_OCTET_STRING pointer.


SEE ALSO

       PKCS7_type_is_data(3)


COPYRIGHT

       Copyright 2002-2020 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
       <https://www.openssl.org/source/license.html>.

3.3.2                             2024-09-04     PKCS7_GET_OCTET_STRING(3ossl)

openssl 3.3.2 - Generated Thu Sep 19 15:45:32 CDT 2024
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.