Skip to main content

Java API Reference

Native reference for the Tricryption Engine Java SDK (the TEAdmin jar), generated from the 8.1 engine source. Classes are grouped by package; the complete public type graph is cross-linked below.

com.eruces.teadmin

NameKindDescription
ACLAdminclassThe ACLAdmin class manages ACL templates.
ACLEntryclassThe ACLEntry class is a ACL rights container for a principal's TTag.
ACLInfoclassThe ACLInfo class manages a principal's TTag container rights.
ACLTemplateclassThe ACLTemplate class represents an ACL template.
ACLTemplateMemberclassThe ACLTemplateMember represents an ACL template member.
AdminExceptionclassThe AdminException class is the error handling class for administrative functions.
AdminLoggerclassEvent AdminLogger class is for administration logs.
AdministrationclassThe Administration class manages all user, role and ACL information.
AdministrationQueryclassThe AdministrationQuery class gets principals from the Key Server with a query.
CertObjectInfoclassThe CertObjectInfo class defines certificate objects.
CertificateAdminclassThe CertificateAdmin class is for certificate administration.
CodeSigningAdminclassThe CodeSigningAdmin class manages code signing.
CodeSigningInfoclassThe CodeSigningInfo class manages code signing.
EventLogclassThe EventLog class represents an event log.
GroupInfoclassThe GroupInfo class represents a group.
LdapPrincipalInfoclassThe LdapPrincipalInfo class is an abstract class that keeps the common attribute for all principals.
LocalAdminclassThe LocalAdmin class is for the remote engine administration.
LocalKeyStatusclassThe LocalKeyStatus class is for the remote engine key status.
MsgPrincipalInfoclassThe MsgPrincipalInfo class represents a message principal.
OperationclassThe Operation class is a container for pre-defined operations.
PrincipalInfoclassThe PrincipalInfo class is an abstract class that keeps the common attribute for all principals.
PrincipalTrustMatrixclassThe PrincipalTrustMatrix class represents a principal trust matrix element.
QueryclassThe Query class represent a query.
RemoteServerAdminclassThe RemoteServerAdmin class supports remote server management.
RoleclassThe Role class is a role container.
SRPProcessorclassThe SRPProcessor class is for SRP management.
TemplatedDirectoryclassThe TemplatedDirectory class represents a templated directory.
TransportPrincipalInfoclassThe TransportPrincipalInfo class represents an X.509 principals.
TrustedExecutablesAdminclassThe TrustedExecutablesAdmin class manages trusted executables.
TrustedServerAdminclassThe TrustedServerAdmin class manages Trusted Servers.
TrustedServerInfoclassThe TrustedServerInfo class represents a Trusted Server.
UpdatableObjectclassThe UpdatableObject class is the base for administrative objects that track which of their fields have been set, so that an update sends only those fields.
UserAndPasswordInfoclassThe UserAndPasswordInfo class represents an ERUCES Native user authenticated by SRP.
VersionclassThe Version class keeps Key Service's Engine version information.
WindowsPrincipalInfoclassThe WindowsPrincipalInfo class represents a user authenticated by Kerberos (Windows) authentication protocols.
XAuthPrincipalInfoclassThe XAuthPrincipalInfo class represents a principal authenticated by an external system and mapped into the Key Service through delegated (XAuth) authentication.

com.eruces.teagent

NameKindDescription
AuthenticationclassThe Authentication class is the base of the client-side authentication schemes: getInstance selects one by TEAuthenticationType, and authenticate drives the initial, update and final exchange with the server.
AuthenticationContextclassThe AuthenticationContext class represents the authentication context in use.
Base64CodeclassThe Base64Code class is used to encode regular data to a base64-encoded string, and to decode a base64-encoded string to regular data.
CipherStreamProcessorclassThe CipherStreamProcessor class is for processing a cipher stream.
CommPackageclassThe CommPackage class is for communications.
CookieAuthenticationclassThe CookieAuthentication class is for Token authentication.
CookieAuthenticationContextclassThe CookieAuthenticationContext class is used for Token authentication.
CryptoLocationclassThe CryptoLocation class indicates the location where a file's cryptographic processes occur.
DecompressionclassThe Decompression class is for decompression.
FileX509ContextclassA file-backed, soft-key X509Context: the AM08 challenge-response authentication protocol driven from a password-protected PKCS#12 file.
FuncPackageclassThe FuncPackage class is a CommPackage carrying a function id and its arguments: the request and response unit of the agent protocol.
IConnectionclassThe IConnection class is the base for objects that work through a TEAgentConnection, which they attach and detach as their operations require.
ISerializeclassThe ISerialize class is an IConnection that can marshal and unmarshal its own state over the connection.
LDAPAuthenticationclassThe LDAPAuthentication class implements user and password authentication against an LDAP directory.
LDAPAuthenticationContextclassThe LDAPAuthenticationContext class implements user and password authentication using a secure remote password.
MatrixclassThe Matrix class is the sparse, row-and-column addressed cell store used to carry matrix data in a CommPackage.
Cellclassclass cell is used as key in matrix map
Cursorclassclass Cursor is used as cursor in Matrix
MatrixMapclassThe MatrixMap class is the ordered map of cells backing a Matrix.
PAnyclassThe PAny class is a self-describing value that carries any of the agent's primitive or object types across the wire.
PKCS11ContextclassThe PKCS11Context class is for PKCS11 objects.
PListclassThe PList class is a container maintaining a list of integer objects.
PersistantObjectclassThe PersistantObject class is for persistant objects.
ProcessChainclassThe ProcessChain class is an ordered sequence of Processor stages applied in turn to a stream of data.
ProcessChainFactoryclassThe ProcessChainFactory class creates the ProcessChain implementing a given ProcessChainType.
ProcessChainFileclassThe ProcessChainFile class is a ProcessChain that reads from and writes to files, reporting progress to file event listeners as it goes.
ProcessChainTypeclassThe ProcessChainType class is a type-safe enumeration of the chain kinds, binding each to the class that implements it.
ProcessManagerclassThe ProcessManager class drives a ProcessChain through its pre-process, process and post-process phases.
ProcessManagerCryptoFileclassThe ProcessManagerCryptoFile class is the file process manager that maintains the Tricryption file header and, when integrity checking is enabled, its HMAC.
ProcessManagerFileclassThe ProcessManagerFile class is a ProcessManager that runs its chain over an input file and writes the result to an output file.
ProcessManagerFileDecryptionclassThe ProcessManagerFileDecryption class reads and validates the Tricryption file header and runs the decryption chain over a file.
ProcessManagerFileEncryptionclassThe ProcessManagerFileEncryption class writes the Tricryption file header and runs the encryption chain over a file.
ProcessorclassThe Processor class is one stage of the agent's data-processing pipeline, applied to a stream through an init, process and finish sequence.
ProcessorCompressionclassThe ProcessorCompression class is the pipeline stage that deflates the data passing through it.
ProcessorCryptoclassThe ProcessorCrypto class is the common base of the pipeline's cryptographic stages, holding the TTag, the initialisation vector and the algorithm they operate under.
ProcessorDecompressionclassThe ProcessorDecompression class is the pipeline stage that inflates data compressed by ProcessorCompression.
ProcessorDecryptionclassThe ProcessorDecryption class is the pipeline stage that decrypts the data passing through it.
ProcessorEncryptionclassThe ProcessorEncryption class is the pipeline stage that encrypts the data passing through it.
ProcessorFactoryclassThe ProcessorFactory class creates the Processor implementing a given ProcessorType.
ProcessorHMacclassThe ProcessorHMac class is the pipeline stage that computes an HMAC over the data, so the integrity of an encrypted file can be checked when it is read back.
ProcessorTypeclassThe ProcessorType class is a type-safe enumeration of the pipeline stages, binding each stage's name and id to the class that implements it.
ProcessorWithConnectionclassThe ProcessorWithConnection class is a pipeline stage that needs a Key Service connection to do its work.
ProcessorXORclassThe ProcessorXOR class is the pipeline stage that XORs the data against a repeating mask.
ResultSetPolicyclassThe ResultSetPolicy class maintains the cryptographic policy applied to recordsets.
SRPClientclassThe SRPClient class is the client half of the Secure Remote Password exchange: it computes the client public key and session key and verifies the server's proof.
SSLMAuthenticationclassThe SSLMAuthentication class implements TLS mutual authentication, in which the client certificate presented during the handshake identifies the principal.
SSLMAuthenticationContextclassThe TESSLMutualAuthenticationContext represents an authentication context used for TLS Mutual connection and PKCS 11,12 authentication.
TEAgentclassThe TEAgent class is an abstract class containing the common cryptographic functions and the Key Service Agent settings.
TEAgentAuthenticConnectionclassThe TEAgentAuthenticConnection class opens a connection with username and password authentication.
TEAgentConnectionclassThe TEAgentConnection class opens a pure connection to a Key Service.
TEAgentConnectionFactoryclassThe TEAgentConnectionFactory class creates different types of connections.
TEAgentConnectionPoolclassThe TEAgentConnectionPool class creates a connection pool.
TEAgentExceptionclassThe TEAgentException class is the error handling class for TEAgent functions.
TEAgentFileclassThe TEAgentFile class encrypts and decrypts file data.
TEAgentFileProcessclassThe TEAgentFileProcess class runs one file encryption or decryption, either locally in the agent or remotely in the engine, reporting progress to file event listeners.
TEAgentMatrixclassThe TEAgentMatrix class encrypts and decrypts matrix data.
TEAgentResultSetclassThe TEAgentResultSet class encrypts and decrypts resultset data.
TEAgentSSLAuthenticConnectionclassThe TEAgentSSLAuthenticConnection class opens an TLS (formerly SSL) secured connection with username and password authentication.
TEAgentSSLMConnectionclassThe TEAgentSSLMConnection class is used for certificate user TLS Mutual authentication connection and PKCS -12 authentication to connect to the Key Server.
TEAuthenticationModeclassThe TEAuthenticationMode class defines a authentication mode.
TEAuthenticationTypeclassThe TEAuthenticationType class indicates the type of authentication in use.
TECipherclassThe TECipher class describes a cipher algorithm together with its key material, and creates the cipher used to encrypt or decrypt data.
TECipherAlgorithmTypeclassThe TECipherAlgorithmType class defines cipher algorithm types.
TECipherOutputStreamclassThe TECipherOutputStream class is a cipher output stream that also carries the TTag of the key its cipher was built from.
TEConnectionTypeclassThe TEConnectionType class indicates the type of connection in use.
TECryptoFileVersionclassThe TECryptoFileVersion class holds the version constants of the Tricryption encrypted-file header format.
TEIOExceptionclassThe TEIOException class is the TEAgentException raised when an input or output operation fails.
TEKeyclassThe TEKey class provides operations for creating, exporting and importing keys.
KeyPairclassTEKey.KeyPair is a inner class of TEKey.
TEServerExceptionclassThe TEServerException class handles Key Service exceptions.
TESystemclassThe TESystem class is the root of the agent's internal class hierarchy.
TETrustManagerFactorySpiclassThe TETrustManagerFactorySpi class is the service-provider hook through which the agent supplies its own trust manager to the Java security framework.
TEUserAgentinterfaceThe TEUserAgent interface identifies the calling application to the Key Service; implement it and register the implementation through TEUserAgentRegister.
TEUserAgentRegisterclassThe TEUserAgentRegister class holds the single TEUserAgent implementation that the agent reports to the Key Service.
UPAuthenticationclassThe UPAuthentication class implements ERUCES native user and password authentication, proving the password with Secure Remote Password rather than sending it.
UPAuthenticationContextclassThe UPAuthenticationContext class implements ERUCES Native user and password authentication using SRP.
X509ContextclassThe 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.
X509AuthenticationclassThe X509Authentication class implements the X.509 challenge-response exchange driven by an X509Context: the server's challenge is signed with the certificate's private key.

com.eruces.teagent.auth.login

NameKindDescription
TEConfigurationclassThe TEConfiguration class is a login configuration that reads its application entries from a JAAS configuration file.
TELoginModuleclassThe TELoginModule class is the base login module for the Tricryption Engine: it opens a TEAgentConnection when the login commits and closes it on logout.
TEPrincipalclassThe TEPrincipal class is the principal placed in the authenticated subject, wrapping the PrincipalInfo the Key Service returned for the logged-in user.
TEUPLoginModuleclassThe TEUPLoginModule class is the login module that authenticates with a user name and password collected through a callback handler.

com.eruces.teagent.event

NameKindDescription
FileEventclassThe FileEvent class defines a file processing event.
FileEventDispatcherinterfaceThe FileEventDispatcher interface dispatches file processing events.
FileEventListenerinterfaceThe FileEventListener interface processes file events.
FileEventTypeclassThe FileEventType class defines a type of file processing event.