[#PKCS12_SAFEBAG_get0_pkcs8] = PKCS12_SAFEBAG_get0_pkcs8 :mrdocs: Return the encrypted PKCS#8 structure from a pkcs8ShroudedKeyBag safeBag. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:X509_SIG.adoc[X509_SIG] const* PKCS12_SAFEBAG_get0_pkcs8(xref:PKCS12_SAFEBAG.adoc[PKCS12_SAFEBAG] const* bag); ---- == Return Value Internal X509_SIG pointer for the shrouded key, or NULL if `bag` is not pkcs8ShroudedKeyBag; do not free. == Parameters [cols="1,4"] |=== | Name| Description | *bag* | SafeBag to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#