ECDsaOpenSsl.VerifyHash(Byte[], Byte[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
驗證數位簽章是否適用於當前金鑰及提供的資料雜湊值。
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。