Class SSLConfig

java.lang.Object
org.networkupstools.jnut.SSLConfig
Direct Known Subclasses:
SSLConfig_JKS

public abstract class SSLConfig extends Object
Base class of SSL configuration for NUT connections.
  • Field Details

    • forceSSL

      protected boolean forceSSL
    • certVerify

      protected boolean certVerify
  • Constructor Details

    • SSLConfig

      public SSLConfig(boolean forceSSL, boolean certVerify)
  • Method Details

    • isForceSSL

      public boolean isForceSSL()
    • isCertVerify

      public boolean isCertVerify()
    • createContext

      public abstract SSLContext createContext() throws NutException
      Throws:
      NutException