Asn1OpenTypeField Class Reference

List of all members.

Public Attributes

System.Type actualType
Object decoder
String nonParameterizedTypeName

Detailed Description

Asn1OpenTypeField carries information about the actual type for an open type field in an information object. /p>


Member Data Documentation

System.Type actualType

actualType is the Type for the actual type. It can be used to instantiate the correct C# class so that known decode methods can be invoked. In some cases (e.g. enumerated types), decode methods are not to be invoked, which is why decoder is also provided. /p>

Object decoder

decoder is some object which may implement known interfaces for decoding an object from an encoding (e.g. Asn1BerDecoder, Asn1PerDecoder, Asn1XerDecoder). When not null and implementing an interface appropriate to the encoding rules in effect, the decoder should be used rather than using actualType to instantiate an object and invoking some decode method on it. /p>

nonParameterizedTypeName is the NonParameterizedTypeName for the actual type, as specified in X.681. This is used by an XER encoding, and can be null when no XER encoders are generated. /p>