Class SSLServer


  • public class SSLServer
    extends SimpleServer

    SSLServer class.

    Version:
    $Id: $
    Author:
    ranger
    • Field Detail

      • DEFAULT_TESTING_PORT

        public static final int DEFAULT_TESTING_PORT
        Constant DEFAULT_TESTING_PORT=7070
        See Also:
        Constant Field Values
      • DEFAULT_PATH_TO_KEY_STORE

        public static final String DEFAULT_PATH_TO_KEY_STORE
        Constant DEFAULT_PATH_TO_KEY_STORE="src/main/resources/org/opennms/netmgt/p"{trunked}
        See Also:
        Constant Field Values
      • DEFAULT_KEY_MANAGER_ALGORITHM

        public static final String DEFAULT_KEY_MANAGER_ALGORITHM
        Constant DEFAULT_KEY_MANAGER_ALGORITHM="SunX509"
        See Also:
        Constant Field Values
      • DEFAULT_KEY_MANAGER_PROVIDER

        public static final String DEFAULT_KEY_MANAGER_PROVIDER
        Constant DEFAULT_KEY_MANAGER_PROVIDER="SunJSSE"
        See Also:
        Constant Field Values
      • DEFAULT_SSL_CONTEXT_PROTOCOL

        public static final String DEFAULT_SSL_CONTEXT_PROTOCOL
        Constant DEFAULT_SSL_CONTEXT_PROTOCOL="SSL"
        See Also:
        Constant Field Values
    • Constructor Detail

      • SSLServer

        public SSLServer()
    • Method Detail

      • setPort

        public void setPort​(int port)

        setPort

        Parameters:
        port - a int.
      • getPort

        public int getPort()

        getPort

        Returns:
        a int.
      • setPassword

        public void setPassword​(String password)

        setPassword

        Parameters:
        password - a String object.
      • getPassword

        public String getPassword()

        getPassword

        Returns:
        a String object.
      • setPathToKeyStore

        public void setPathToKeyStore​(String pathToKeyStore)

        setPathToKeyStore

        Parameters:
        pathToKeyStore - a String object.
      • getPathToKeyStore

        public String getPathToKeyStore()

        getPathToKeyStore

        Returns:
        a String object.
      • setKeyManagerAlgorithm

        public void setKeyManagerAlgorithm​(String keyManagerAlgorithm)

        setKeyManagerAlgorithm

        Parameters:
        keyManagerAlgorithm - a String object.
      • getKeyManagerAlgorithm

        public String getKeyManagerAlgorithm()

        getKeyManagerAlgorithm

        Returns:
        a String object.
      • setKeyManagerProvider

        public void setKeyManagerProvider​(String keyManagerProvider)

        setKeyManagerProvider

        Parameters:
        keyManagerProvider - a String object.
      • getKeyManagerProvider

        public String getKeyManagerProvider()

        getKeyManagerProvider

        Returns:
        a String object.
      • setSslContextProtocol

        public void setSslContextProtocol​(String sslContextProtocol)

        setSslContextProtocol

        Parameters:
        sslContextProtocol - a String object.
      • getSslContextProtocol

        public String getSslContextProtocol()

        getSslContextProtocol

        Returns:
        a String object.