Class ControlFactory


  • public final class ControlFactory
    extends Object
    Utility class for creating controls.
    • Constructor Detail

      • ControlFactory

        private ControlFactory()
        Default constructor.
    • Method Detail

      • createResponseControl

        public static ResponseControl createResponseControl​(String oid,
                                                            boolean critical,
                                                            DERBuffer encoded)
        Creates a response control from the supplied control data.
        Parameters:
        oid - of the control
        critical - whether the control is critical
        encoded - BER encoding of the control
        Returns:
        response control