[#KeyOriginInfo]
= KeyOriginInfo
:mrdocs:

Origin information (master key fingerprint and derivation path) for a public key&period;

== Synopsis

Declared in `&lt;script&sol;keyorigin&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct KeyOriginInfo;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:KeyOriginInfo/clear.adoc[`clear`] 
| Reset the fingerprint to zero and clear the derivation path&period;
|===


== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:KeyOriginInfo/fingerprint.adoc[`fingerprint`] 
| First 32 bits of the Hash160 of the public key at the root of the path
| xref:KeyOriginInfo/path.adoc[`path`] 
| BIP32 derivation path from the root key to this key
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:operator_lt-02.adoc[operator&lt;]`
| Order two KeyOriginInfo by fingerprint, then path length, then path&period;
| `xref:operator_eq-02.adoc[operator&equals;&equals;]`
| Compare two KeyOriginInfo for equality&period;
|===

== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:DeserializeKeyOrigin.adoc[`DeserializeKeyOrigin`]
| Deserialize a fixed number of bytes from a stream as a KeyOriginInfo&period;
|===


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