[#CExtKey-2constructor-0b] = xref:CExtKey.adoc[CExtKey]::CExtKey :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<key.h>` Construct an empty extended key. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:CExtKey/2constructor-07.adoc[CExtKey]() = default; ---- [.small]#xref:CExtKey/2constructor-07.adoc[_» more..._]# Construct an extended key from an extended public key's metadata and a private key. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CExtKey/2constructor-0e.adoc[CExtKey]( xref:CExtPubKey.adoc[CExtPubKey] const& xpub, xref:CKey.adoc[CKey] const& key_in); ---- [.small]#xref:CExtKey/2constructor-0e.adoc[_» more..._]# == 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]#