Interface DecodeableControl

    • Method Detail

      • decodeControl

        @NotNull
        Control decodeControl​(@NotNull
                              java.lang.String oid,
                              boolean isCritical,
                              @Nullable
                              ASN1OctetString value)
                       throws LDAPException
        Creates a new instance of this decodeable control from the provided information.
        Parameters:
        oid - The OID for the control.
        isCritical - Indicates whether the control should be marked critical.
        value - The encoded value for the control. This may be null if no value was provided.
        Returns:
        The decoded representation of this control.
        Throws:
        LDAPException - If the provided information cannot be decoded as a valid instance of this decodeable control.