語言

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

例外狀況

hash 或 signature 為 null。

適用於