[#CKey-GetPrivKey] = xref:CKey.adoc[CKey]::GetPrivKey :relfileprefix: ../ :mrdocs: Convert the private key to a CPrivKey (serialized OpenSSL private key data). This is expensive. == Synopsis Declared in `<key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CPrivKey.adoc[CPrivKey] GetPrivKey() const; ---- == Return Value The serialized private key. [.small]#Created with https://www.mrdocs.com[MrDocs]#