[#CExtKey] = CExtKey :mrdocs: A BIP32 extended private key: a private key plus the chain code and metadata needed for derivation. == Synopsis Declared in `<key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct CExtKey; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:CExtKey/2constructor-0b.adoc[`CExtKey`] [.small]#[constructor]# | Constructors | xref:CExtKey/Decode.adoc[`Decode`] | Deserialize this extended key from the BIP32 byte encoding. | xref:CExtKey/Derive.adoc[`Derive`] | Derive a BIP32 child extended key. | xref:CExtKey/Encode.adoc[`Encode`] | Serialize this extended key into the BIP32 byte encoding. | xref:CExtKey/Neuter.adoc[`Neuter`] | Derive the extended public key corresponding to this extended private key. | xref:CExtKey/SetSeed.adoc[`SetSeed`] | Initialize this extended key as a master key from a seed. | xref:CExtKey/id_key_fingerprint.adoc[`id_key_fingerprint`] | Compute the fingerprint of this key's own public key. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:CExtKey/chaincode.adoc[`chaincode`] | Chain code accompanying the private key. | xref:CExtKey/fingerprint.adoc[`fingerprint`] | Fingerprint of the parent key. | xref:CExtKey/key.adoc[`key`] | The extended private key material. | xref:CExtKey/nChild.adoc[`nChild`] | Child index used to derive this key from its parent. | xref:CExtKey/nDepth.adoc[`nDepth`] | Depth of this key in the BIP32 derivation tree. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:operator_eq-005.adoc[operator==]` | Compare two extended keys for equality of all fields. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:DecodeExtKey.adoc[`DecodeExtKey`] | Decode a Base58Check‐encoded extended private key. | xref:DeriveExtKey.adoc[`DeriveExtKey`] | Get extended key and origin info for a given path | xref:EncodeExtKey.adoc[`EncodeExtKey`] | Encode an extended private key in Base58Check format. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#