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

◆ VerifyHash() [2/4]

bool System.Security.Cryptography.ECDsa.VerifyHash ( byte[] hash,
byte[] signature,
DSASignatureFormat signatureFormat )
inlineinherited

Definition at line 502 of file ECDsa.cs.

503 {
504 if (hash == null)
505 {
506 throw new ArgumentNullException("hash");
507 }
508 if (signature == null)
509 {
510 throw new ArgumentNullException("signature");
511 }
512 if (!signatureFormat.IsKnownValue())
513 {
514 throw DSASignatureFormatHelpers.CreateUnknownValueException(signatureFormat);
515 }
516 return VerifyHashCore(hash, signature, signatureFormat);
517 }
virtual bool VerifyHashCore(ReadOnlySpan< byte > hash, ReadOnlySpan< byte > signature, DSASignatureFormat signatureFormat)
Definition ECDsa.cs:528

References System.Security.Cryptography.DSASignatureFormatHelpers.CreateUnknownValueException(), and System.Security.Cryptography.ECDsa.VerifyHashCore().