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

Inheritance: System.Object, System.ICloneable
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Private Properties

Property Type Description
decodeTagNumber int

Public Methods

Method Description
Asn1Identifier ( ) : System
Asn1Identifier ( System in_Renamed ) : System

Decode an Asn1Identifier directly from an InputStream and save the encoded length of the Asn1Identifier.

Asn1Identifier ( int tagClass, bool constructed, int tag ) : System

Constructs an Asn1Identifier using the classtype, form and tag.

Clone ( ) : Object

Creates a duplicate, not a true clone, of this object and returns a reference to the duplicate.

reset ( System in_Renamed ) : void

Decode an Asn1Identifier directly from an InputStream and save the encoded length of the Asn1Identifier, but reuse the object.

Private Methods

Method Description
decodeTagNumber ( System in_Renamed ) : int

In the case that we have a tag number that is greater than 30, we need to decode a multiple octet tag number.

Method Details

Asn1Identifier() public method

public Asn1Identifier ( ) : System
return System

Asn1Identifier() public method

Decode an Asn1Identifier directly from an InputStream and save the encoded length of the Asn1Identifier.
public Asn1Identifier ( System in_Renamed ) : System
in_Renamed System
return System

Asn1Identifier() public method

Constructs an Asn1Identifier using the classtype, form and tag.
public Asn1Identifier ( int tagClass, bool constructed, int tag ) : System
tagClass int As defined above. /// ///
constructed bool Set to true if constructed and false if primitive. /// ///
tag int The tag of this identifier ///
return System

Clone() public method

Creates a duplicate, not a true clone, of this object and returns a reference to the duplicate.
public Clone ( ) : Object
return System.Object

reset() public method

Decode an Asn1Identifier directly from an InputStream and save the encoded length of the Asn1Identifier, but reuse the object.
public reset ( System in_Renamed ) : void
in_Renamed System
return void