System.Security.Cryptography.AsnEncodedData Class

Represents Abstract Syntax Notation One (ASN.1)-encoded data.

See Also: AsnEncodedData Members


public class AsnEncodedData


Abstract Syntax Notation One (ASN.1), which is defined in CCITT Recommendation X.208, is a way to specify abstract objects that will be serially transmitted. The set of ASN.1 rules for representing such objects as strings of ones and zeros is called the Distinguished Encoding Rules (DER), and is defined in CCITT Recommendation X.509, Section 8.7. These encoding methods are currently used by the cryptography namespace in the .NET Framework.

Note that if an unknown data type is encountered while accessing an instance of this class, data is returned as a hexadecimal string.


Namespace: System.Security.Cryptography
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0