Skip to main content

com.eruces.teagent.X509Context

The X509Context class is the abstract base for certificate-based authentication contexts, which answer a server challenge by signing it with the private key of a certificate.

FileX509Context and PKCS11Context are the concrete forms.

Since: 1.0

© Pi Soft, 2018-2026 · Tricryption Engine 8.1

Inheritance

Public Member Functions

MemberDescription
void setSecret(Object objSec)The setSecret method sets secret authentication information.
abstract byte[] getCertificate()
abstract byte[] calculateResponse(byte[] challenge)

Member Function Documentation

void setSecret(Object objSec)

The setSecret method sets secret authentication information.

Deprecated

Parameters

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

Exceptions

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