Skip to main content

com.eruces.teagent.SSLMAuthenticationContext

The TESSLMutualAuthenticationContext represents an authentication context used for TLS Mutual connection and PKCS 11,12 authentication.

This class is derived from TEAuthenticationContext class.LDAPAuthenticationContext class.

Inheritance

Static Public Attributes

TypeNameDescription
final StringPKCS12_TRICRYPTION_USER_ALIASSystem property for module name.
final StringPKCS12_TRICRYPTION_USER_ALIAS_PROPERTYA string representing.

Public Member Functions

MemberDescription
SSLMAuthenticationContext()The SSLMAuthenticationContext constructor is the default class constructor.
void setSecret(Object objSec)The setSecret method sets secret authentication information.
void setSecret(InputStream pfx, String passwd)The setSecret method sets secret authentication information.
void setSecret(KeyStore ks, String password, String alias)The setSecret method sets secret authentication information.
void setSecret(InputStream ksStream, String password, String alias)The setSecret method sets secret authentication information.

Static Public Member Functions

MemberDescription
SSLMAuthenticationContext getInstance()The getInstance method if a factory method that gets an instance of the UPAuthenticationContext class.

Member Function Documentation

SSLMAuthenticationContext()

The SSLMAuthenticationContext constructor is the default class constructor.

void setSecret(Object objSec)

The setSecret method sets secret authentication information.

Parameters

ParameterDescription
objSecA secret property object; both a username and a password object are needed.

Remark: Specified by the setSecret method in the AuthenticationContext class.

void setSecret(InputStream pfx, String passwd)

The setSecret method sets secret authentication information.

Parameters

ParameterDescription
pfxobjSec A secret property object; both a username and a password object are needed.
passwdA string representing the password.

Remark: Specified by the setSecret method in the AuthenticationContext class.

void setSecret(KeyStore ks, String password, String alias)

The setSecret method sets secret authentication information.

Parameters

ParameterDescription
ksA KeyStore object.
passwordA string representing the password.
aliasAn alias.

Remark: Specified by the setSecret method in the AuthenticationContext class.

void setSecret(InputStream ksStream, String password, String alias)

The setSecret method sets secret authentication information.

Parameters

ParameterDescription
ksStreamA secret property object; both a username and a password object are needed.
passwordA string representing the password.
aliasAn alias.

Remark: Specified by the setSecret method in the AuthenticationContext class.

SSLMAuthenticationContext getInstance()

The getInstance method if a factory method that gets an instance of the UPAuthenticationContext class.

Returns: Returns a UPAuthenticationContext object.