System::Security::Cryptography::DSACryptoServiceProvider::VerifyHash 方法

DSACryptoServiceProvider::VerifyHash method

检查数据签名。

bool System::Security::Cryptography::DSACryptoServiceProvider::VerifyHash(const ByteArrayPtr &rgb_hash, const String &str, const ByteArrayPtr &rgb_signature)
参数类型描述
rgb_hashconst ByteArrayPtr&为接收的数据计算的哈希。
strconst String&使用的哈希算法名称。
rgb_signatureconst ByteArrayPtr&接收到的签名。

ReturnValue

如果签名有效则为 True,否则为 false。

另见