[#CPubKey-2constructor-02]
= xref:CPubKey.adoc[CPubKey]::CPubKey
:relfileprefix: ../
:mrdocs:

Construct a public key from a byte vector&period;

== Synopsis

Declared in `&lt;pubkey&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
CPubKey(std::span&lt;uint8&lowbar;t const&gt; &lowbar;vch);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;vch*
| The serialized public key bytes&period;
|===


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