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

◆ VerifyHash() [3/4]

bool System.Security.Cryptography.RSACryptoServiceProvider.VerifyHash ( byte[] rgbHash,
string str,
byte[] rgbSignature )
inline

Definition at line 369 of file RSACryptoServiceProvider.cs.

370 {
371 if (rgbHash == null)
372 {
373 throw new ArgumentNullException("rgbHash");
374 }
375 if (rgbSignature == null)
376 {
377 throw new ArgumentNullException("rgbSignature");
378 }
379 int calgHash = CapiHelper.NameOrOidToHashAlgId(str, OidGroup.HashAlgorithm);
380 return VerifyHash(rgbHash, calgHash, rgbSignature);
381 }
static int NameOrOidToHashAlgId(string nameOrOid, OidGroup oidGroup)
bool VerifyHash(byte[] rgbHash, string str, byte[] rgbSignature)

References Internal.NativeCrypto.CapiHelper.NameOrOidToHashAlgId(), System.str, and System.Security.Cryptography.RSACryptoServiceProvider.VerifyHash().

Referenced by System.Security.Cryptography.RSACryptoServiceProvider.VerifyData(), System.Security.Cryptography.RSACryptoServiceProvider.VerifyHash(), and System.Security.Cryptography.RSACryptoServiceProvider.VerifyHash().