com.eruces.teagent.TEAgentSSLAuthenticConnection
The TEAgentSSLAuthenticConnection class opens an TLS (formerly SSL) secured connection with username and password authentication.
Inheritance
- Inherits com.eruces.teagent.TEAgentConnection
Static Public Attributes
| Type | Name | Description |
|---|---|---|
| final String | SSL_VERSION_SYS_PROPERTY | System property that pins the KS-facing TLS protocol to a single explicit version (e.g. |
| final String | DEFAULT_SSL_VERSION | SSLContext factory algorithm for the agile default. |
| final String[] | DEFAULT_SSL_PROTOCOLS | Agile default enabled-protocol list. |
Public Member Functions
| Member | Description |
|---|---|
TEAgentSSLAuthenticConnection() | The TEAgentSSLAuthenticConnection constructor constructs a non-connected object. |
TEAgentSSLAuthenticConnection(String strServerName, int nPort, String strUserName, String strPasswd) | The TEAgentSSLAuthenticConnection constructor specifies a server name, port number, username and password. |
Member Function Documentation
TEAgentSSLAuthenticConnection()
The TEAgentSSLAuthenticConnection constructor constructs a non-connected object.
TEAgentSSLAuthenticConnection(String strServerName, int nPort, String strUserName, String strPasswd)
The TEAgentSSLAuthenticConnection constructor specifies a server name, port number, username and password.
Parameters
| Parameter | Description |
|---|---|
strServerName | A string representing the name or IP of the Key Server. |
nPort | An integer representing a Key Service communication port number. |
strUserName | A string representing a username. |
strPasswd | A string representing a password. |