VerifyData()

ECDsaBotan::VerifyData(const ByteArrayPtr&, const ByteArrayPtr&) method

Verifies that the signature of the specified data is valid.

bool System::Security::Cryptography::ECDsaBotan::VerifyData(const ByteArrayPtr &data, const ByteArrayPtr &signature)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Signed data.
signatureconst ByteArrayPtr&Signature data. return true if signature is valid, otherwise - false.

ECDsaBotan::VerifyData(const ByteArrayPtr&, int32_t, int32_t, const ByteArrayPtr&) method

Verifies that the signature of the specified data is valid.

bool System::Security::Cryptography::ECDsaBotan::VerifyData(const ByteArrayPtr &data, int32_t offset, int32_t count, const ByteArrayPtr &signature)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Signed data.
offsetint32_tOffset in data.
countint32_tNumber of bytes to hash.
signatureconst ByteArrayPtr&Signature data. return true if signature is valid, otherwise - false.

ECDsaBotan::VerifyData(const StreamPtr&, const ByteArrayPtr&) method

Verifies that the signature of the specified binary stream is valid.

bool System::Security::Cryptography::ECDsaBotan::VerifyData(const StreamPtr &stream, const ByteArrayPtr &signature)

Arguments

ParameterTypeDescription
streamconst StreamPtr&Signed data.
signatureconst ByteArrayPtr&Signature data. return true if signature is valid, otherwise - false.

ECDsaBotan::VerifyData(const ByteArrayPtr&, const ByteArrayPtr&, const HashAlgorithmName&) method

Verifies that the signature of the specified data is valid.

bool System::Security::Cryptography::ECDsa::VerifyData(const ByteArrayPtr &data, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Signed data.
signatureconst ByteArrayPtr&Signature data.
hash_algorithmconst HashAlgorithmName&Hash algorithm. return true if signature is valid, otherwise - false.

ECDsaBotan::VerifyData(const ByteArrayPtr&, int32_t, int32_t, const ByteArrayPtr&, const HashAlgorithmName&) method

Verifies that the signature of the specified data is valid.

bool System::Security::Cryptography::ECDsa::VerifyData(const ByteArrayPtr &data, int32_t offset, int32_t count, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)

Arguments

ParameterTypeDescription
dataconst ByteArrayPtr&Signed data.
offsetint32_tOffset in data.
countint32_tNumber of bytes to hash.
signatureconst ByteArrayPtr&Signature data.
hash_algorithmconst HashAlgorithmName&Hash algorithm. return true if signature is valid, otherwise - false.

ECDsaBotan::VerifyData(const StreamPtr&, const ByteArrayPtr&, const HashAlgorithmName&) method

Verifies that the signature of the specified binary stream is valid.

bool System::Security::Cryptography::ECDsa::VerifyData(const StreamPtr &stream, const ByteArrayPtr &signature, const HashAlgorithmName &hash_algorithm)

Arguments

ParameterTypeDescription
streamconst StreamPtr&Signed data.
signatureconst ByteArrayPtr&Signature data.
hash_algorithmconst HashAlgorithmName&Hash algorithm. return true if signature is valid, otherwise - false.

See Also