[#CKey-VerifyPubKey] = xref:CKey.adoc[CKey]::VerifyPubKey :relfileprefix: ../ :mrdocs: Verify thoroughly whether a private key and a public key match. This is done using a different mechanism than just regenerating it. == Synopsis Declared in `<key.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool VerifyPubKey(xref:CPubKey.adoc[CPubKey] const& vchPubKey) const; ---- == Return Value true if the public key matches this private key. == Parameters [cols="1,4"] |=== | Name| Description | *vchPubKey* | The public key to check against this private key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#