[#CKey-GetPrivKey]
= xref:CKey.adoc[CKey]::GetPrivKey
:relfileprefix: ../
:mrdocs:

Convert the private key to a CPrivKey (serialized OpenSSL private key data)&period; This is expensive&period;

== Synopsis

Declared in `&lt;key&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CPrivKey.adoc[CPrivKey]
GetPrivKey() const;
----

== Return Value

The serialized private key&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
