ECDsaOpenSsl.VerifyHash(Byte[], Byte[]) 方法

定义

验证数字签名是否适合当前密钥和提供的数据哈希。

public:
 override bool VerifyHash(cli::array <System::Byte> ^ hash, cli::array <System::Byte> ^ signature);
public override bool VerifyHash(byte[] hash, byte[] signature);
override this.VerifyHash : byte[] * byte[] -> bool
Public Overrides Function VerifyHash (hash As Byte(), signature As Byte()) As Boolean

参数

hash
Byte[]
signature
Byte[]

返回

true 如果签名有效,则为否则,为 false.

例外

hashsignaturenull.

适用于