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

◆ DecodeCore() [2/2]

static void System.Security.Cryptography.Asn1.ECDomainParameters.DecodeCore ( ref System::Formats::Asn1::AsnValueReader reader,
ReadOnlyMemory< byte > rebind,
out System::Security::Cryptography::Asn1::ECDomainParameters decoded )
inlinestaticprivate

Definition at line 72 of file ECDomainParameters.cs.

73 {
75 Asn1Tag asn1Tag = reader.PeekTag();
77 {
78 System.Security.Cryptography.Asn1.SpecifiedECDomain.Decode(ref reader, rebind, out var decoded2);
79 decoded.Specified = decoded2;
80 return;
81 }
83 {
84 decoded.Named = reader.ReadObjectIdentifier();
85 return;
86 }
87 throw new CryptographicException();
88 }
static readonly Asn1Tag Sequence
Definition Asn1Tag.cs:29
static readonly Asn1Tag ObjectIdentifier
Definition Asn1Tag.cs:25
bool HasSameClassAndValue(Asn1Tag other)
Definition Asn1Tag.cs:251
static void Decode(ref AsnValueReader reader, ReadOnlyMemory< byte > rebind, out SpecifiedECDomain decoded)

References System.Security.Cryptography.Asn1.SpecifiedECDomain.Decode(), System.Formats.Asn1.Asn1Tag.HasSameClassAndValue(), System.Formats.Asn1.Asn1Tag.ObjectIdentifier, and System.Formats.Asn1.Asn1Tag.Sequence.