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

Inheritance: Asn1Decoder
ファイルを表示 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
GetObjectData ( System info, System context ) : void
LBERDecoder ( ) : System
decode ( System in_Renamed ) : Asn1Object

Decode an LBER encoded value into an Asn1Type from an InputStream.

decode ( System in_Renamed, int len ) : Asn1Object

Decode an LBER encoded value into an Asn1Object from an InputStream. This method also returns the total length of this encoded Asn1Object (length of type + length of length + length of content) in the parameter len. This information is helpful when decoding structured types.

decodeBoolean ( System in_Renamed, int len ) : Object

Decode a boolean directly from a stream.

decodeCharacterString ( System in_Renamed, int len ) : Object

Decode a CharacterString directly from a stream.

decodeNumeric ( System in_Renamed, int len ) : Object

Decode a Numeric type directly from a stream. Decodes INTEGER and ENUMERATED types.

decodeOctetString ( System in_Renamed, int len ) : Object

Decode an OctetString directly from a stream.

Private Methods

Method Description
InitBlock ( ) : void
decode ( sbyte value_Renamed ) : Asn1Object

Method Details

GetObjectData() public method

public GetObjectData ( System info, System context ) : void
info System
context System
return void

LBERDecoder() public method

public LBERDecoder ( ) : System
return System

decode() public method

Decode an LBER encoded value into an Asn1Type from an InputStream.
public decode ( System in_Renamed ) : Asn1Object
in_Renamed System
return Asn1Object

decode() public method

Decode an LBER encoded value into an Asn1Object from an InputStream. This method also returns the total length of this encoded Asn1Object (length of type + length of length + length of content) in the parameter len. This information is helpful when decoding structured types.
public decode ( System in_Renamed, int len ) : Asn1Object
in_Renamed System
len int
return Asn1Object

decodeBoolean() public method

Decode a boolean directly from a stream.
public decodeBoolean ( System in_Renamed, int len ) : Object
in_Renamed System
len int
return System.Object

decodeCharacterString() public method

Decode a CharacterString directly from a stream.
public decodeCharacterString ( System in_Renamed, int len ) : Object
in_Renamed System
len int
return System.Object

decodeNumeric() public method

Decode a Numeric type directly from a stream. Decodes INTEGER and ENUMERATED types.
public decodeNumeric ( System in_Renamed, int len ) : Object
in_Renamed System
len int
return System.Object

decodeOctetString() public method

Decode an OctetString directly from a stream.
public decodeOctetString ( System in_Renamed, int len ) : Object
in_Renamed System
len int
return System.Object