<PackageReference Include="System.Formats.Asn1" Version="8.0.0" />

AsnContentException

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

Initializes a new instance of the AsnContentException class, using the default message.

public AsnContentException(string message)

Initializes a new instance of the AsnContentException class, using the provided message.

public AsnContentException(string message, Exception inner)

Initializes a new instance of the AsnContentException class, using the provided message and exception that is the cause of this exception.

Initializes a new instance of the AsnContentException class with serialized data.