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

◆ SetHashAlgorithm()

override void System.Security.Cryptography.DSASignatureFormatter.SetHashAlgorithm ( string strName)
inline

Definition at line 33 of file DSASignatureFormatter.cs.

34 {
35 if (strName.ToUpperInvariant() != "SHA1")
36 {
37 throw new CryptographicUnexpectedOperationException(System.SR.Cryptography_InvalidOperation);
38 }
39 }
static string Cryptography_InvalidOperation
Definition SR.cs:104
Definition SR.cs:7

References System.SR.Cryptography_InvalidOperation.