Verify a DER signature (~72 bytes). If this public key is not fully valid, the return value will be false.

Synopsis

Declared in <pubkey.h>

bool
Verify(
    uint256 const& hash,
    std::vector<unsigned char> const& vchSig) const;

Return Value

true if the signature is valid for this public key.

Parameters

Name

Description

hash

The 32‐byte message hash that was signed.

vchSig

The DER‐encoded signature to verify.

Created with MrDocs