System::Security::Cryptography::RSACryptoServiceProvider::VerifyData 方法

RSACryptoServiceProvider::VerifyData method

检查数据签名。

bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyData(const ByteArrayPtr &buffer, const SharedPtr<Object> &halg, const ByteArrayPtr &signature)
参数类型描述
bufferconst ByteArrayPtr&Data 用于检查签名。
halgconst SharedPtr<Object>&要使用的哈希算法。
签名const ByteArrayPtr&接收到的签名。

ReturnValue

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

另见