ASN1C C# Runtime Library
7.7
|
Public Member Functions | |
Asn1TagMatchFailedException (Asn1BerDecodeBuffer buffer, Asn1Tag expectedTag, Asn1Tag parsedTag) | |
Asn1TagMatchFailedException (Asn1BerDecodeBuffer buffer, Asn1Tag expectedTag) | |
Public Member Functions inherited from Asn1Exception | |
Asn1Exception (System.String message) | |
Asn1Exception (System.String message, System.Exception innerException) | |
Asn1Exception (Asn1DecodeBuffer buffer, System.String message) | |
This class defines the 'ASN.1 tag match failed' exception that is thrown from BER/DER methods when an expected tag is not matched..
Asn1TagMatchFailedException | ( | Asn1BerDecodeBuffer | buffer, |
Asn1Tag | expectedTag, | ||
Asn1Tag | parsedTag | ||
) |
This constructor creates an exception object with a textual message describing the expected and parsed tag values..
buffer | BER decode buffer object reference |
expectedTag | Expected tag value |
parsedTag | Parsed tag value |
Asn1TagMatchFailedException | ( | Asn1BerDecodeBuffer | buffer, |
Asn1Tag | expectedTag | ||
) |
This constructor creates an exception object with a textual message describing only the expected tag value. It is used in cases where the parsed tag value cannot be determined.
buffer | BER decode buffer object reference |
expectedTag | Expected tag value |