Skip to main content

tech.pisoft.teagent.TEAgentAuthenticConnection

The TEAgentAuthenticConnection class opens a connection with username and password authentication.

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance​

Public Member Functions​

MemberDescription
TEAgentAuthenticConnection()The TEAgentAuthenticConnection constructor constructs a non-connected object.
TEAgentAuthenticConnection(String strServerName, int nPort, String strUserName, String strPasswd)The TEAgentAuthenticConnection constructor specifies a server name, port number, username and password.

Member Function Documentation​

TEAgentAuthenticConnection()​

The TEAgentAuthenticConnection constructor constructs a non-connected object.

TEAgentAuthenticConnection(String strServerName, int nPort, String strUserName, String strPasswd)​

The TEAgentAuthenticConnection constructor specifies a server name, port number, username and password.

Parameters

ParameterDescription
strServerNameA string representing the name of a Key Server.
nPortAn integer representing a Key Server access port number.
strUserNameA string representing a username to connect to the Key Server.
strPasswdA string representing a password.

Exceptions

ExceptionDescription
TEAgentExceptionif the request cannot be completed on the connection, or the Key Service returns an error for it (delivered as a TEServerException).