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

◆ SignHash() [2/2]

byte[] System.Security.Cryptography.ECDsa.SignHash ( byte[] hash,
DSASignatureFormat signatureFormat )
inlineinherited

Definition at line 180 of file ECDsa.cs.

181 {
182 if (hash == null)
183 {
184 throw new ArgumentNullException("hash");
185 }
186 if (!signatureFormat.IsKnownValue())
187 {
188 throw DSASignatureFormatHelpers.CreateUnknownValueException(signatureFormat);
189 }
190 return SignHashCore(hash, signatureFormat);
191 }
virtual byte[] SignHashCore(ReadOnlySpan< byte > hash, DSASignatureFormat signatureFormat)
Definition ECDsa.cs:193

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

Referenced by System.Security.Cryptography.ECDsa.SignData(), System.Security.Cryptography.ECDsa.SignData(), and System.Security.Cryptography.ECDsa.TrySignHashCore().