[#PKHash-2constructor-02] = xref:PKHash.adoc[PKHash]::PKHash :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<addresstype.h>` Construct a null public‐key hash. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PKHash/2constructor-06.adoc[PKHash](); ---- [.small]#xref:PKHash/2constructor-06.adoc[_» more..._]# Construct a public‐key hash from a key identifier. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:PKHash/2constructor-05.adoc[PKHash](xref:CKeyID.adoc[CKeyID] const& pubkey_id); ---- [.small]#xref:PKHash/2constructor-05.adoc[_» more..._]# Construct a public‐key hash from a public key. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:PKHash/2constructor-0b.adoc[PKHash](xref:CPubKey.adoc[CPubKey] const& pubkey); ---- [.small]#xref:PKHash/2constructor-0b.adoc[_» more..._]# Construct a public‐key hash from a raw 160‐bit hash. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:PKHash/2constructor-0f.adoc[PKHash](xref:uint160.adoc[uint160] const& hash); ---- [.small]#xref:PKHash/2constructor-0f.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *pubkey_id* | The key identifier. | *pubkey* | The public key to hash. | *hash* | The raw hash value. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#