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

Construct a public key using begin&sol;end iterators to byte data&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
CPubKey(
    T const pbegin,
    T const pend);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pbegin*
| Iterator to the first byte of the serialized key&period;
| *pend*
| Iterator past the last byte of the serialized key&period;
|===


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