[#CExtKey-2constructor-0e] = xref:CExtKey.adoc[CExtKey]::CExtKey :relfileprefix: ../ :mrdocs: Construct an extended key from an extended public key's metadata and a private key. == Synopsis Declared in `<key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CExtKey( xref:CExtPubKey.adoc[CExtPubKey] const& xpub, xref:CKey.adoc[CKey] const& key_in); ---- == Parameters [cols="1,4"] |=== | Name| Description | *xpub* | The extended public key providing depth, fingerprint, child index and chain code. | *key_in* | The private key material. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#