[#EVP_PKEY_get_raw_private_key] = EVP_PKEY_get_raw_private_key :mrdocs: Export the raw private key bytes of `pkey` into `priv.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_get_raw_private_key( xref:EVP_PKEY.adoc[EVP_PKEY] const* pkey, unsigned char* priv, size_t* len); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key whose private material is exported (algorithm‐dependent format). | *priv* | Output buffer, or NULL to only query the required length via `len.` | *len* | On entry, capacity of `priv` when non‐NULL; on return, number of bytes written or required. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#