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

◆ VerifyHash() [2/2]

virtual bool System.Security.Cryptography.RSA.VerifyHash ( ReadOnlySpan< byte > hash,
ReadOnlySpan< byte > signature,
HashAlgorithmName hashAlgorithm,
RSASignaturePadding padding )
inlinevirtualinherited

Reimplemented in System.Security.Cryptography.RSAImplementation.RSACng, and System.Security.Cryptography.RSACng.

Definition at line 153 of file RSA.cs.

154 {
155 return VerifyHash(hash.ToArray(), signature.ToArray(), hashAlgorithm, padding);
156 }
virtual bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSA.cs:75

References System.ReadOnlySpan< T >.ToArray(), and System.Security.Cryptography.RSA.VerifyHash().