[#PEM_write_PKCS8] = PEM_write_PKCS8 :mrdocs: Write a PKCS#8 encrypted private‐key envelope (X509_SIG) to a FILE in PEM form. == Synopsis Declared in `<openssl/pem.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PEM_write_PKCS8( FILE* fp, xref:X509_SIG.adoc[X509_SIG] const* x); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *fp* | FILE to write to. | *x* | Encrypted PKCS#8 structure to encode. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#