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

◆ AttributeAsn()

System.Security.Cryptography.Asn1.AttributeAsn.AttributeAsn ( AsnEncodedData attribute)
inline

Definition at line 43 of file AttributeAsn.cs.

44 {
45 if (attribute == null)
46 {
47 throw new ArgumentNullException("attribute");
48 }
49 AttrType = attribute.Oid.Value;
50 AttrValues = new ReadOnlyMemory<byte>[1]
51 {
52 new ReadOnlyMemory<byte>(attribute.RawData)
53 };
54 }

References System.Security.Cryptography.Asn1.AttributeAsn.AttrType, System.Security.Cryptography.Asn1.AttributeAsn.AttrValues, System.Security.Cryptography.AsnEncodedData.Oid, System.Security.Cryptography.AsnEncodedData.RawData, and System.Security.Cryptography.Oid.Value.