[#PKCS12_SAFEBAG_create0_pkcs8] = PKCS12_SAFEBAG_create0_pkcs8 :mrdocs: Create a pkcs8ShroudedKeyBag safeBag wrapping an already‐encrypted PKCS#8 key. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PKCS12_SAFEBAG.adoc[PKCS12_SAFEBAG]* PKCS12_SAFEBAG_create0_pkcs8(xref:X509_SIG.adoc[X509_SIG]* p8); ---- == Return Value New safeBag, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *p8* | Encrypted PKCS#8 structure (X509_SIG); ownership transfers to the safeBag on success. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#