[#PKCS12_unpack_p7encdata] = PKCS12_unpack_p7encdata :mrdocs: Unpack safeBags from a PKCS#7 encrypted‐data ContentInfo. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:stack_st_PKCS12_SAFEBAG.adoc[stack_st_PKCS12_SAFEBAG]* PKCS12_unpack_p7encdata( xref:PKCS7.adoc[PKCS7]* p7, char const* pass, int passlen); ---- == Return Value Stack of safeBags, or NULL if `p7` is not encrypted‐data or on decode error. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | PKCS#7 encrypted‐data content info wrapping a PKCS12_SAFEBAGS sequence. | *pass* | Passphrase for decryption. | *passlen* | Length of `pass,` or ‐1 to use strlen(). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#