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
- Inherits com.eruces.teagent.AuthenticationContext
- Inherited by com.eruces.teagent.FileX509Context
- Inherited by com.eruces.teagent.PKCS11Context
Public Member Functions
| Member | Description |
|---|---|
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
| Parameter | Description |
|---|---|
objSec | A secret property object; both a username and a password object are needed. |
Exceptions
| Exception | Description |
|---|---|
TEAgentException | if the request cannot be completed on the connection, or the Key Service returns an error for it (delivered as a TEServerException). |