Interface SslConfig

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
XmlSslConfig

public interface SslConfig extends Closeable
  • Field Details

  • Method Details

    • isFipsEnabled

      default boolean isFipsEnabled()
      Returns:
      true if FIPS is enabled on the current node.
    • getServerTruststoreLocation

      String getServerTruststoreLocation()
      Returns:
      the File path of Server SSL trust store.
    • getServerTruststorePassword

      char[] getServerTruststorePassword()
      Returns:
      the password of Server SSL trust store or null if no password is configured.
    • getServerTruststoreType

      String getServerTruststoreType()
      Returns:
      the type of Server SSL trust store, e.g. JKS, PKCS12, etc
    • getServerTruststoreFileType

      KeystoreFileType getServerTruststoreFileType()
      Returns:
      the file type of Server SSL trust store, e.g. JKS, PKCS12, etc
    • getServerKeystoreLocation

      String getServerKeystoreLocation()
      Returns:
      the File path of Server SSL key store.
    • getServerKeystorePassword

      char[] getServerKeystorePassword()
      Returns:
      the password of Server SSL key store or null if no password is configured.
    • getServerKeyPassword

      char[] getServerKeyPassword()
      Returns:
      the password of Server's SSL private key or null if no password is configured.
    • getServerKeystoreType

      String getServerKeystoreType()
      Returns:
      the type of Server SSL key store, e.g. JKS, PKCS12, etc
    • getServerKeystoreFileType

      KeystoreFileType getServerKeystoreFileType()
      Returns:
      the file type of Server SSL key store, e.g. JKS, PKCS12, etc
    • getClientTruststoreLocation

      String getClientTruststoreLocation()
      Returns:
      the File path of Client SSL trust store.
    • getClientTruststorePassword

      char[] getClientTruststorePassword()
      Returns:
      the password of Client SSL trust store or null if no password is configured.
    • getClientTruststoreType

      String getClientTruststoreType()
      Returns:
      the type of Client SSL trust store, e.g. JKS, PKCS12, etc
    • getClientTruststoreFileType

      KeystoreFileType getClientTruststoreFileType()
      Returns:
      the file type of Client SSL trust store, e.g. JKS, PKCS12, etc
    • getClientKeystoreLocation

      String getClientKeystoreLocation()
      Returns:
      the File path of Client SSL key store.
    • getClientKeystorePassword

      char[] getClientKeystorePassword()
      Returns:
      the password of Client SSL key store or null if no password is configured.
    • getClientKeyPassword

      char[] getClientKeyPassword()
      Returns:
      the password of Client's SSL key or null if no password is configured.
    • getClientKeystoreType

      String getClientKeystoreType()
      Returns:
      the type of Client SSL key store, e.g. JKS, PKCS12, etc
    • getClientKeystoreFileType

      KeystoreFileType getClientKeystoreFileType()
      Returns:
      the file type of Client SSL key store, e.g. JKS, PKCS12, etc
    • close

      void close()
      Clears all internal state including cached passwords/keys/etc.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable