Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
OtherNameAsn.cs
Go to the documentation of this file.
2
4
5internal struct OtherNameAsn
6{
7 internal string TypeId;
8
10
11 internal void Encode(AsnWriter writer, Asn1Tag tag)
12 {
13 writer.PushSequence(tag);
14 try
15 {
16 writer.WriteObjectIdentifier(TypeId);
17 }
18 catch (ArgumentException inner)
19 {
21 }
22 writer.PushSequence(new Asn1Tag(TagClass.ContextSpecific, 0));
23 try
24 {
25 writer.WriteEncodedValue(Value.Span);
26 }
27 catch (ArgumentException inner2)
28 {
30 }
31 writer.PopSequence(new Asn1Tag(TagClass.ContextSpecific, 0));
32 writer.PopSequence(tag);
33 }
34}
static string Cryptography_Der_Invalid_Encoding
Definition SR.cs:50
Definition SR.cs:7
unsafe ReadOnlySpan< T > Span
void Encode(AsnWriter writer, Asn1Tag tag)