Package mireka.pop

Class PrivateTlsConfiguration

    • Constructor Detail

      • PrivateTlsConfiguration

        public PrivateTlsConfiguration()
    • Method Detail

      • createSSLSocket

        public javax.net.ssl.SSLSocket createSSLSocket​(java.net.Socket socket)
                                                throws java.io.IOException
        Description copied from interface: TlsConfiguration
        Returns an SSLSocket which wraps the supplied non-secured socket. The returned socket is in server mode.
        Specified by:
        createSSLSocket in interface TlsConfiguration
        Parameters:
        socket - the socket to be wrapped
        Throws:
        java.io.IOException
      • setEnabled

        public void setEnabled​(boolean tlsEnabled)
        Category:
        GETSET
      • getKeystoreFile

        public String getKeystoreFile()
        Category:
        GETSET
      • setKeystoreFile

        public void setKeystoreFile​(String keystoreFile)
        Category:
        GETSET
      • getKeystorePass

        public String getKeystorePass()
        Category:
        GETSET
      • setKeystorePass

        public void setKeystorePass​(String keystorePass)
        Category:
        GETSET