C# Class Novell.Directory.Ldap.Rfc2251.RfcControl

Represents an Ldap Control.
 Control ::= SEQUENCE { controlType             LdapOID, criticality             BOOLEAN DEFAULT FALSE, controlValue            OCTET STRING OPTIONAL } 
Inheritance: Novell.Directory.Ldap.Asn1.Asn1Sequence
Mostrar archivo Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
RfcControl ( Asn1Sequence seqObj ) : System

Constructs a Control object by decoding from an Asn1Sequence

RfcControl ( RfcLdapOID controlType ) : System

RfcControl ( RfcLdapOID controlType, Asn1Boolean criticality ) : System

RfcControl ( RfcLdapOID controlType, Asn1Boolean criticality, Asn1OctetString controlValue ) : System

Note: criticality is only added if true, as per RFC 2251 sec 5.1 part (4): If a value of a type is its default value, it MUST be absent.

Private Methods

Method Description
RfcControl ( Asn1Decoder dec, System in_Renamed, int len ) : System

Method Details

RfcControl() public method

Constructs a Control object by decoding from an Asn1Sequence
public RfcControl ( Asn1Sequence seqObj ) : System
seqObj Novell.Directory.Ldap.Asn1.Asn1Sequence
return System

RfcControl() public method

public RfcControl ( RfcLdapOID controlType ) : System
controlType RfcLdapOID
return System

RfcControl() public method

public RfcControl ( RfcLdapOID controlType, Asn1Boolean criticality ) : System
controlType RfcLdapOID
criticality Novell.Directory.Ldap.Asn1.Asn1Boolean
return System

RfcControl() public method

Note: criticality is only added if true, as per RFC 2251 sec 5.1 part (4): If a value of a type is its default value, it MUST be absent.
public RfcControl ( RfcLdapOID controlType, Asn1Boolean criticality, Asn1OctetString controlValue ) : System
controlType RfcLdapOID
criticality Novell.Directory.Ldap.Asn1.Asn1Boolean
controlValue Novell.Directory.Ldap.Asn1.Asn1OctetString
return System