[#CPubKey-2constructor-00] = xref:CPubKey.adoc[CPubKey]::CPubKey :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<pubkey.h>` Construct an invalid public key. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CPubKey/2constructor-0d.adoc[CPubKey](); ---- [.small]#xref:CPubKey/2constructor-0d.adoc[_» more..._]# Construct a public key from a byte vector. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:CPubKey/2constructor-02.adoc[CPubKey](std::span<uint8_t const> _vch); ---- [.small]#xref:CPubKey/2constructor-02.adoc[_» more..._]# Construct a public key using begin/end iterators to byte data. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> xref:CPubKey/2constructor-0c.adoc[CPubKey]( T const pbegin, T const pend); ---- [.small]#xref:CPubKey/2constructor-0c.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *_vch* | The serialized public key bytes. | *pbegin* | Iterator to the first byte of the serialized key. | *pend* | Iterator past the last byte of the serialized key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#