Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Open Source
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

Asn1TagMatchFailedException Class Reference

Inheritance diagram for Asn1TagMatchFailedException:

Asn1Exception List of all members.

Detailed Description

This class defines the 'ASN.1 tag match failed' exception that is thrown from BER/DER methods when an expected tag is not matched..


Public Member Functions

 Asn1TagMatchFailedException (Asn1BerDecodeBuffer buffer, Asn1Tag expectedTag)
 Asn1TagMatchFailedException (Asn1BerDecodeBuffer buffer, Asn1Tag expectedTag, Asn1Tag parsedTag)


Constructor & Destructor Documentation

Asn1TagMatchFailedException Asn1BerDecodeBuffer  buffer,
Asn1Tag  expectedTag,
Asn1Tag  parsedTag
 

This constructor creates an exception object with a textual message describing the expected and parsed tag values..

Parameters:
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.

Parameters:
buffer BER decode buffer object reference
expectedTag Expected tag value


Copyright © 1997-2005 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 18 Nov 2005.
ASN1C C# Runtime Library, 5.8