Class ServerConfigKeystoreSSL


  • public class ServerConfigKeystoreSSL
    extends Object
    Defines the keystore with the private server key and the certificate used to encrypt the connection. This keystore may only contain exactly one certificate or certificate chain with one private key.
    • Constructor Detail

      • ServerConfigKeystoreSSL

        public ServerConfigKeystoreSSL()
    • Method Detail

      • getAlias

        @Nullable
        public @Nullable String getAlias()
        The alias used for the private server key and certificate in the keystore. Can be empty if the keystore only contains a single certificate.
        Returns:
        alias
      • setAlias

        public void setAlias​(String alias)
      • getFile

        @Nullable
        public @Nullable String getFile()
        The name of the keystore file to use.
        Returns:
        _file
      • setFile

        public void setFile​(String _file)
      • getPassword

        @Nullable
        public @Nullable String getPassword()
        The password required to access the keystore.
        Returns:
        password
      • setPassword

        public void setPassword​(String password)
      • getType

        @Nullable
        public @Nullable ServerConfigKeystoreSSL.TypeEnum getType()
        The format of the keystore file containing the certificate (or certificate chain) and private key (optionally encrypted) to be used for SSL encryption. * JKS = A Java keystore (file based with an extension like \".jks\"). * PKCS12 = A PKCS12 keystore (file based with the extensions like \".p12\" or \".pfx\"). * PEM = A PEM-encoded keystore (file based with extensions like \".pem\" or \".cabundle\"). * WINDOWS\\_MACHINE = The Windows certificate store of the machine on which the server is running. * WINDOWS\\_USER = The Windows certificate store of the user account under which the server is running.
        Returns:
        type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object