Class AccountUsableRequestControl


  • public class AccountUsableRequestControl
    extends Control
    This class implements the Sun-defined account usable request control. The OID for this control is 1.3.6.1.4.1.42.2.27.9.5.8, and it does not have a value.
    • Constructor Detail

      • AccountUsableRequestControl

        public AccountUsableRequestControl()
        Creates a new instance of the account usable request control with the default settings.
      • AccountUsableRequestControl

        public AccountUsableRequestControl​(boolean isCritical)
        Creates a new instance of the account usable request control with the default settings.
        Parameters:
        isCritical - Indicates whether this control should be considered critical in processing the request.
    • Method Detail

      • writeValue

        protected void writeValue​(ASN1Writer writer)
                           throws IOException
        Description copied from class: Control
        Writes this control's value to an ASN.1 writer. The value (if any) must be written as an ASN1OctetString.
        Specified by:
        writeValue in class Control
        Parameters:
        writer - The ASN.1 writer to use.
        Throws:
        IOException - If a problem occurs while writing to the stream.
      • toString

        public void toString​(StringBuilder buffer)
        Description copied from class: Control
        Appends a string representation of this control to the provided buffer.
        Overrides:
        toString in class Control
        Parameters:
        buffer - The buffer to which the information should be appended.