Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ VerifyHash() [1/2]

override bool System.Security.Cryptography.RSAImplementation.RSACng.VerifyHash ( byte[] hash,
byte[] signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding )
inlinevirtual

Reimplemented from System.Security.Cryptography.RSA.

Definition at line 671 of file RSAImplementation.cs.

672 {
673 if (hash == null)
674 {
675 throw new ArgumentNullException("hash");
676 }
677 if (signature == null)
678 {
679 throw new ArgumentNullException("signature");
680 }
681 return VerifyHash((ReadOnlySpan<byte>)hash, (ReadOnlySpan<byte>)signature, hashAlgorithm, padding);
682 }
override bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)

References System.Security.Cryptography.RSAImplementation.RSACng.VerifyHash().

Referenced by System.Security.Cryptography.RSAImplementation.RSACng.VerifyHash().