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

◆ VerifySignature() [1/2]

override bool System.Security.Cryptography.DSASignatureDeformatter.VerifySignature ( byte[] rgbHash,
byte[] rgbSignature )
inline

Definition at line 41 of file DSASignatureDeformatter.cs.

42 {
43 if (rgbHash == null)
44 {
45 throw new ArgumentNullException("rgbHash");
46 }
47 if (rgbSignature == null)
48 {
49 throw new ArgumentNullException("rgbSignature");
50 }
51 if (_dsaKey == null)
52 {
53 throw new CryptographicUnexpectedOperationException(System.SR.Cryptography_MissingKey);
54 }
55 return _dsaKey.VerifySignature(rgbHash, rgbSignature);
56 }
static string Cryptography_MissingKey
Definition SR.cs:114
Definition SR.cs:7
bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)

References System.Security.Cryptography.DSASignatureDeformatter._dsaKey, System.SR.Cryptography_MissingKey, and System.Security.Cryptography.DSA.VerifySignature().