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

◆ ReadRequiredElement()

static byte[] System.Security.Cryptography.DSA.ReadRequiredElement ( ref XmlKeyHelper::ParseState state,
string name,
int sizeHint = -1 )
inlinestaticprivateinherited

Definition at line 678 of file DSA.cs.

679 {
680 byte[] array = XmlKeyHelper.ReadCryptoBinary(ref state, name, sizeHint);
681 if (array == null)
682 {
683 throw new CryptographicException(System.SR.Format(System.SR.Cryptography_InvalidFromXmlString, "DSA", name));
684 }
685 return array;
686 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Cryptography_InvalidFromXmlString
Definition SR.cs:84
Definition SR.cs:7

References System.array, System.SR.Cryptography_InvalidFromXmlString, System.SR.Format(), System.Security.Cryptography.XmlKeyHelper.ReadCryptoBinary(), and System.state.

Referenced by System.Security.Cryptography.DSA.FromXmlString().