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

Inheritance: Asn1Object
Show file Open project: EventStore/csharp-ldap Class Usage Examples

Protected Properties

Property Type Description
ID Asn1Identifier

Public Methods

Method Description
Asn1OctetString ( System content ) : System

Call this constructor to construct an Asn1OctetString object from a String object.

ToString ( ) : System.String

Return a String representation of this Asn1Object.

encode ( Asn1Encoder enc, System out_Renamed ) : void

Call this method to encode the current instance into the specified output stream using the specified encoder object.

stringValue ( ) : System.String

Returns the content of this Asn1OctetString as a String.

Private Methods

Method Description
Asn1OctetString ( Asn1Decoder dec, System in_Renamed, int len ) : System
Asn1OctetString ( sbyte content ) : System
byteValue ( ) : sbyte[]

Method Details

Asn1OctetString() public method

Call this constructor to construct an Asn1OctetString object from a String object.
public Asn1OctetString ( System content ) : System
content System A string value that will be contained /// in the this Asn1OctetString object ///
return System

ToString() public method

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

encode() public method

Call this method to encode the current 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

stringValue() public method

Returns the content of this Asn1OctetString as a String.
public stringValue ( ) : System.String
return System.String

Property Details

ID protected static property

ID is added for Optimization. Id needs only be one Value for every instance, thus we create it only once.
protected static Asn1Identifier,Novell.Directory.Ldap.Asn1 ID
return Asn1Identifier