C# Class Novell.Directory.Ldap.Asn1.Asn1Choice

Inheritance: Asn1Object
Mostra file Open project: EventStore/csharp-ldap

Private Properties

Property Type Description

Public Methods

Method Description
Asn1Choice ( Asn1Object content ) : System

Constructs an Asn1Choice object using an Asn1Object value.

ToString ( ) : System.String

Return a String representation of this Asn1Object.

choiceValue ( ) : Asn1Object

Returns the CHOICE value stored in this Asn1Choice as an Asn1Object.

encode ( Asn1Encoder enc, System out_Renamed ) : void

Call this method to encode the contents of this Asn1Choice instance into the specified output stream using the specified encoder object.

getIdentifier ( ) : Asn1Identifier

This method will return the Asn1Identifier of the encoded Asn1Object.We override the parent method as the identifier of an Asn1Choice depends on the type of the object encoded by this Asn1Choice.

setIdentifier ( Asn1Identifier id ) : void

Sets the identifier of the contained Asn1Object. We override the parent method as the identifier of an Asn1Choice depends on the type of the object encoded by this Asn1Choice.

Protected Methods

Method Description
Asn1Choice ( ) : System

No arg Constructor. This is used by Filter, who subsequently sets the content after parsing the RFC 2254 Search Filter String.

Method Details

Asn1Choice() protected method

No arg Constructor. This is used by Filter, who subsequently sets the content after parsing the RFC 2254 Search Filter String.
protected Asn1Choice ( ) : System
return System

Asn1Choice() public method

Constructs an Asn1Choice object using an Asn1Object value.
public Asn1Choice ( Asn1Object content ) : System
content Asn1Object The Asn1Object that this Asn1Choice will /// encode. Since all Asn1 objects are derived from Asn1Object /// any basic type can be passed in. ///
return System

ToString() public method

Return a String representation of this Asn1Object.
public ToString ( ) : System.String
return System.String

choiceValue() public method

Returns the CHOICE value stored in this Asn1Choice as an Asn1Object.
public choiceValue ( ) : Asn1Object
return Asn1Object

encode() public method

Call this method to encode the contents of this Asn1Choice instance into the specified output stream using the specified encoder object.
public encode ( Asn1Encoder enc, System out_Renamed ) : void
enc Asn1Encoder Encoder object to use when encoding self. /// ///
out_Renamed System
return void

getIdentifier() public method

This method will return the Asn1Identifier of the encoded Asn1Object.We override the parent method as the identifier of an Asn1Choice depends on the type of the object encoded by this Asn1Choice.
public getIdentifier ( ) : Asn1Identifier
return Asn1Identifier

setIdentifier() public method

Sets the identifier of the contained Asn1Object. We override the parent method as the identifier of an Asn1Choice depends on the type of the object encoded by this Asn1Choice.
public setIdentifier ( Asn1Identifier id ) : void
id Asn1Identifier
return void