System.Formats.Asn1 Namespace

Contains types used in reading and writing Abstract Syntax Notation One (ASN.1) data structures.

Classes

AsnContentException

The exception that is thrown when an encoded ASN.1 value cannot be successfully decoded.

AsnDecoder

Provides stateless methods for decoding BER-encoded, CER-encoded, and DER-encoded ASN.1 data.

AsnReader

A stateful, forward-only reader for BER-, CER-, or DER-encoded ASN.1 data.

AsnWriter

A writer for BER-, CER-, and DER-encoded ASN.1 data.

Structs

Asn1Tag

This type represents an ASN.1 tag, as described in ITU-T Recommendation X.680.

AsnReaderOptions

Specifies options that modify the behavior of an AsnReader.

AsnWriter.Scope

Provides an IDisposable target for safely closing an opened tag by using a lexical scope as a logical scope.

Enums

AsnEncodingRules

The encoding ruleset for an AsnReader or AsnWriter.

TagClass

The tag class for a particular ASN.1 tag.

UniversalTagNumber

Tag assignments for the UNIVERSAL class in ITU-T X.680.

Remarks

For more information, see the ASN.1 BER/CER/DER reader and writer design document.