public static Verify_v15 ( |
||
rsa | ||
hash | HashAlgorithm | |
hashValue | byte | |
signature | byte | |
return | bool |
public override bool VerifySignature( byte[] rgbHash, byte[] rgbSignature) { if (this.key == null) { throw new CryptographicUnexpectedOperationException("The key is a null reference"); } if (hash == null) { throw new CryptographicUnexpectedOperationException("The hash algorithm is a null reference."); } if (rgbHash == null) { throw new ArgumentNullException("The rgbHash parameter is a null reference."); } #pragma warning disable 436 return(PKCS1.Verify_v15(key, hash.Algorithm, rgbHash, rgbSignature)); #pragma warning restore 436 }
public static bool Verify_v15(RSA rsa, HashAlgorithm hash, byte[] hashValue, byte[] signature) { return(PKCS1.Verify_v15(rsa, hash, hashValue, signature, false)); }