This class provides a basic implementation of the Control interface. It represents an LDAPv3 Control as defined in RFC 2251.
This class provides a basic implementation of the Control interface. It represents an LDAPv3 Control as defined in RFC 2251.
(->basic-control id)
(->basic-control id criticality value)
Constructor.
Constructs a control using the supplied arguments.
id - The control's object identifier string. - java.lang.String
criticality - The control's criticality. - boolean
value - The control's ASN.1 BER encoded value. It is not cloned - any changes to value will affect the contents of the control. It may be null. - byte[]
Constructor. Constructs a control using the supplied arguments. id - The control's object identifier string. - `java.lang.String` criticality - The control's criticality. - `boolean` value - The control's ASN.1 BER encoded value. It is not cloned - any changes to value will affect the contents of the control. It may be null. - `byte[]`
(critical? this)
Determines the control's criticality.
returns: true if the control is critical; false otherwise. - boolean
Determines the control's criticality. returns: true if the control is critical; false otherwise. - `boolean`
(get-encoded-value this)
Retrieves the control's ASN.1 BER encoded value. The result includes the BER tag and length for the control's value but does not include the control's object identifier and criticality setting.
returns: A possibly null byte array representing the control's
ASN.1 BER encoded value. It is not cloned - any changes to the
returned value will affect the contents of the control. - byte[]
Retrieves the control's ASN.1 BER encoded value. The result includes the BER tag and length for the control's value but does not include the control's object identifier and criticality setting. returns: A possibly null byte array representing the control's ASN.1 BER encoded value. It is not cloned - any changes to the returned value will affect the contents of the control. - `byte[]`
(get-id this)
Retrieves the control's object identifier string.
returns: The non-null object identifier string. - java.lang.String
Retrieves the control's object identifier string. returns: The non-null object identifier string. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close