Index

A B C D E F G H I K L M N O P R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

abort(String) - Method in class anbxj.AnB_Protocol
Abort the protocol with a specified error message
abort(String, Exception, long) - Method in class anbxj.AnB_Protocol
Abort the protocol with a specified error message, exception, and session ID.
aliases - Variable in class anbxj.AnB_Principal
Mapping agent aliases
aliases - Variable in class anbxj.AnB_Protocol
Mapping of aliases for protocol roles.
aliasExists(String) - Method in class anbxj.AnB_Crypto_Wrapper
Check is an agent's alias is stored in the key stores accessible to the cryptographic engine
ALWAYS - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer that is always active.
AnB_ChannelType - Enum Class in anbxj
AnB channel type enumerator
AnB_CheckFailedException - Exception Class in anbxj
Failed checks exception
AnB_CheckFailedException(String) - Constructor for exception class anbxj.AnB_CheckFailedException
generic constructor to throw an exception with a message for AnB protocols
AnB_CheckFailedException(String, Throwable) - Constructor for exception class anbxj.AnB_CheckFailedException
generic constructor to throw a specific exception with a message for AnB protocols
AnB_Crypto_Wrapper - Class in anbxj
Cryptographic API: implements a class supporting cryptographic operations (a wrapper for the cryptographic engine)
AnB_Crypto_Wrapper(Crypto_EncryptionEngine) - Constructor for class anbxj.AnB_Crypto_Wrapper
Create a AnB_Crypto_Wrapper for a specified cryptographic engine
AnB_Crypto_Wrapper(Crypto_EncryptionEngine, String) - Constructor for class anbxj.AnB_Crypto_Wrapper
Create a AnB_Crypto_Wrapper for a specified cryptographic engine
AnB_Crypto_Wrapper(Crypto_KeyStoreSettings_Map) - Constructor for class anbxj.AnB_Crypto_Wrapper
Create a AnB_Crypto_Wrapper for a specified key store setting map
AnB_Crypto_Wrapper(Crypto_KeyStoreSettings_Map, Crypto_Config) - Constructor for class anbxj.AnB_Crypto_Wrapper
Create a AnB_Crypto_Wrapper for a specified key store setting map and cryptographic configuration
AnB_Crypto_Wrapper(String, Crypto_Config) - Constructor for class anbxj.AnB_Crypto_Wrapper
Create a AnB_Crypto_Wrapper for a specified key store setting map and cryptographic configuration
AnB_Principal - Class in anbxj
AnB Principal: A concrete principal for AnB/AnBx protocols.
AnB_Principal(Crypto_EncryptionEngine, String, Map<String, Channel_Settings>, Map<String, String>, Crypto_Config) - Constructor for class anbxj.AnB_Principal
Constructs a principal that reuses an already initialised cryptographic engine.
AnB_Principal(Crypto_EncryptionEngine, String, Map<String, Channel_Settings>, Map<String, String>, Crypto_Config, Channel_MessageSerializer) - Constructor for class anbxj.AnB_Principal
Constructs a principal that creates all client sessions using the given serializer.
AnB_Principal(Crypto_KeyStoreSettings_Map, Map<String, Channel_Settings>, Map<String, String>) - Constructor for class anbxj.AnB_Principal
Constructor for AnB_Principal with specified key store settings, channel settings, and aliases.
AnB_Principal(Crypto_KeyStoreSettings_Map, Map<String, Channel_Settings>, Map<String, String>, Crypto_Config) - Constructor for class anbxj.AnB_Principal
Constructor for AnB_Principal with specified key store settings, channel settings, aliases, and configuration.
AnB_Principal(String, String, Map<String, Channel_Settings>, Map<String, String>) - Constructor for class anbxj.AnB_Principal
Constructor for AnB_Principal with specified alias, path, channel settings, and aliases.
AnB_Principal(String, String, Map<String, Channel_Settings>, Map<String, String>, Crypto_Config) - Constructor for class anbxj.AnB_Principal
Constructor for AnB_Principal with specified alias, path, channel settings, aliases, and configuration.
AnB_Protocol<S,R,ST> - Class in anbxj
AnB Protocol: an abstract class for defining AnB protocols
AnB_Protocol() - Constructor for class anbxj.AnB_Protocol
Default constructor
AnB_Protocol(R, String, String, Crypto_EncryptionEngine) - Constructor for class anbxj.AnB_Protocol
Constructs a protocol instance with the specified role, agent name, shared‑data path, and cryptographic engine.
AnB_Session - Class in anbxj
AnB Session: implements a protocol session supporting cryptographic operations.
AnB_Session(AnB_Crypto_Wrapper, Channel_Abstraction) - Constructor for class anbxj.AnB_Session
Creates a new session using an existing AnB_Crypto_Wrapper.
AnB_Session(Crypto_EncryptionEngine, String, Channel_Abstraction) - Constructor for class anbxj.AnB_Session
Creates a new session that reuses an existing cryptographic engine and uses an already connected socket channel (e.g., from a multi-threaded server).
AnB_Session(Crypto_EncryptionEngine, String, Channel_Settings, Crypto_Config, boolean) - Constructor for class anbxj.AnB_Session
Creates a new session that reuses an existing cryptographic engine.
AnB_Session(Crypto_EncryptionEngine, String, Channel_Settings, Crypto_Config, boolean, Channel_MessageSerializer) - Constructor for class anbxj.AnB_Session
Creates a new client-side session that uses Protocol Buffers serialisation and optionally exchanges identities after opening the channel.
AnB_Session(Crypto_EncryptionEngine, String, Channel_Settings, Crypto_Config, String) - Constructor for class anbxj.AnB_Session
Creates a new session that reuses an existing cryptographic engine and automatically sets the remote identity.
AnB_Session(Crypto_EncryptionEngine, String, Channel_Settings, Crypto_Config, String, Channel_MessageSerializer) - Constructor for class anbxj.AnB_Session
Creates a new client-side session that uses Protocol Buffers serialisation and does not exchange identities.
AnB_Session(Crypto_KeyStoreSettings_Map, Channel_Abstraction, Crypto_Config) - Constructor for class anbxj.AnB_Session
Constructs a new AnB_Session with the specified parameters.
AnB_Session(Crypto_KeyStoreSettings_Map, Channel_Settings, boolean, Crypto_Config) - Constructor for class anbxj.AnB_Session
Constructs a new AnB_Session with the specified parameters.
AnB_Session(Crypto_KeyStoreSettings_Map, Channel_Settings, AnBx_Agent, Crypto_Config) - Constructor for class anbxj.AnB_Session
Constructs a new AnB_Session with the specified parameters.
AnB_Session(Crypto_KeyStoreSettings_Map, Channel_Settings, String, Crypto_Config) - Constructor for class anbxj.AnB_Session
Constructs a new AnB_Session with the specified parameters.
AnB_Session(String, Channel_Settings, boolean, Crypto_Config) - Constructor for class anbxj.AnB_Session
Constructs a new AnB_Session with the specified parameters.
AnB_Session(String, Channel_Settings, String, Crypto_Config) - Constructor for class anbxj.AnB_Session
Constructs a new AnB_Session with the specified parameters.
AnBx_Agent - Class in anbxj
AnBx Agent
AnBx_Agent(String) - Constructor for class anbxj.AnBx_Agent
Constructs an AnBx_Agent with the specified alias (no certificates).
AnBx_Agent(String, AnB_Crypto_Wrapper) - Constructor for class anbxj.AnBx_Agent
Constructs an AnBx_Agent with the specified alias and certificates retrieved from a Crypto_Wrapper (works for both AnB_Crypto_Wrapper and AnB_Session because AnB_Session extends AnB_Crypto_Wrapper).
AnBx_Agent(String, Map<Crypto_KeyStoreType, Certificate>) - Constructor for class anbxj.AnBx_Agent
Constructs an AnBx_Agent with the specified alias and certificates.
AnBx_ChannelMode - Class in anbxj
AnBx Channel Mode: A class to store AnBx channel modes.
AnBx_ChannelMode(AnBx_Agent, AnBx_Agent, AnBx_Agent[], boolean, boolean) - Constructor for class anbxj.AnBx_ChannelMode
Constructor for AnBx_ChannelMode.
AnBx_ChannelType - Enum Class in anbxj
An enumerator for AnBx channel types.
AnBx_CommandLine_Parser<R,C> - Class in anbxj
An abstract class for parsing command line arguments.
AnBx_CommandLine_Parser(String[], String, String, Class<R>, boolean) - Constructor for class anbxj.AnBx_CommandLine_Parser
Create a AnBx_CommandLine_Parser
AnBx_CommandLine_Parser(String[], String, String, Class<R>, boolean, boolean) - Constructor for class anbxj.AnBx_CommandLine_Parser
Create a AnBx_CommandLine_Parser
AnBx_Debug - Class in anbxj
AnBx Debug/Logging utility
AnBx_Debug() - Constructor for class anbxj.AnBx_Debug
Default constructor
AnBx_Layers - Enum Class in anbxj
AnBx Debug/Logging layers.
AnBx_LibraryException - Exception Class in anbxj
Thrown when a fatal library error occurs that cannot be recovered from.
AnBx_LibraryException(String) - Constructor for exception class anbxj.AnBx_LibraryException
Constructs a new AnBx_LibraryException with the specified detail message.
AnBx_LibraryException(String, Throwable) - Constructor for exception class anbxj.AnBx_LibraryException
Constructs a new AnBx_LibraryException with the specified detail message and cause.
AnBx_Params - Class in anbxj
AnBx Params: implements a tuple as an array of serializable objects
AnBx_Params(Object...) - Constructor for class anbxj.AnBx_Params
AnBx_Params constructor
AnBx_WireFormats - Class in anbxj
Container for wire-format wrapper classes used in typed Protobuf mode.
AnBx_WireFormats.SealedMessage - Class in anbxj
A language-agnostic representation of a sealed (encrypted) message.
AnBx_WireFormats.SignedMessage - Class in anbxj
A language-agnostic representation of a digitally signed message.
anbxj - package anbxj
An experimental cryptographic library used as run time support for the AnBx Compiler and Code Generator
anonymize() - Method in class anbxj.Crypto_HmacPair
Anonymizes the HMAC pair by removing the public secret key.
APPLICATION - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for application-related operations.
asymBlockLengthDec - Static variable in class anbxj.Crypto_Config_Default
Length of the asymmetric encryption block for decryption
asymBlockLengthEnc - Static variable in class anbxj.Crypto_Config_Default
Length of the asymmetric encryption block for encryption
asymCipherSchemeBlock - Static variable in class anbxj.Crypto_Config_Default
Asymmetric encryption scheme block mode (experimental)
asymCipherSchemeBlock - Variable in class anbxj.Crypto_Config
The asymmetric cipher scheme block.
asymEncProvider - Variable in class anbxj.Crypto_Config
The provider for signature algorithm.
AUTH - Enum constant in enum class anbxj.AnBx_ChannelType
Authentication channel type in AnBx.
AUTH_MUTUAL - Enum constant in enum class anbxj.AnBx_ChannelType
Mutual authentication channel type in AnBx.
AUTH_SECRET - Enum constant in enum class anbxj.AnBx_ChannelType
Authentication with secret channel type in AnBx.

B

buildOuterFromInner(Message) - Method in interface anbxj.Channel_ProtobufSerializer.StepPayloadDescriptor
Wraps the inner payload Protobuf message into the outer step message.
buildPayload(Object...) - Method in interface anbxj.Channel_ProtobufSerializer.StepPayloadDescriptor
Builds a Protobuf payload message from the provided fields.
BUSINESS_LOGIC - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for business logic-related operations.

C

Channel - Class in anbxj
An abstract class for Channel
Channel() - Constructor for class anbxj.Channel
Default constructor for Channel class
Channel_Abstraction - Class in anbxj
Channel Abstraction: a class abstracting TCP/IP channel
Channel_Abstraction(Channel_Properties) - Constructor for class anbxj.Channel_Abstraction
Constructor for Channel Abstraction.
Channel_Client - Class in anbxj
Client-side communication channel.
Channel_Client(Channel_Properties) - Constructor for class anbxj.Channel_Client
Creates a new client channel with the given properties.
Channel_ExistingSocket - Class in anbxj
A channel implementation that wraps an already connected Socket.
Channel_ExistingSocket(Socket, Channel_Properties) - Constructor for class anbxj.Channel_ExistingSocket
Constructs a new channel that uses the given already connected socket.
Channel_JavaFramedSerializer - Class in anbxj
A Channel_MessageSerializer that delegates to standard Java object serialisation via the utility methods in Crypto_SerializationUtils.
Channel_MessageSerializer - Interface in anbxj
A protocol-specific serializer that converts logical protocol-level objects to/from byte arrays.
Channel_MultiThreadedServer - Class in anbxj
A multi-threaded TCP server that accepts client connections on a specified channel and runs a protocol for each connected client in a separate thread.
Channel_MultiThreadedServer(String, Channel_Settings, Consumer<AnB_Session>, long, Crypto_EncryptionEngine) - Constructor for class anbxj.Channel_MultiThreadedServer
Constructs a new multi-threaded server with the specified parameters.
Channel_MultiThreadedServer(String, Channel_Settings, Consumer<AnB_Session>, long, Crypto_EncryptionEngine, long) - Constructor for class anbxj.Channel_MultiThreadedServer
Constructs a new multi-threaded server that limits the number of accepted client connections to expectedConnections.
Channel_MultiThreadedServer(String, Channel_Settings, Consumer<AnB_Session>, long, Crypto_EncryptionEngine, Channel_MessageSerializer) - Constructor for class anbxj.Channel_MultiThreadedServer
Constructs a new multi-threaded server that uses Protocol Buffers serialisation for every accepted client session.
Channel_MultiThreadedServer(String, Channel_Settings, Consumer<AnB_Session>, long, Crypto_EncryptionEngine, Channel_MessageSerializer, long) - Constructor for class anbxj.Channel_MultiThreadedServer
Creates a multi-threaded TCP server that listens on the port specified by channelSettings, accepts up to expectedConnections client connections, and for each connection runs the given protocolRunner in a separate thread from an internal thread pool.
Channel_MultiThreadedServer(String, Channel_Settings, Consumer<AnB_Session>, Crypto_EncryptionEngine) - Constructor for class anbxj.Channel_MultiThreadedServer
Constructs a new multi-threaded server with the default idle timeout (5 seconds).
Channel_Properties - Class in anbxj
Channel Properties: Represents the properties of a communication channel.
Channel_Properties() - Constructor for class anbxj.Channel_Properties
Default constructor for Channel_Properties.
Channel_Properties(Channel_Settings) - Constructor for class anbxj.Channel_Properties
Constructor for Channel_Properties with specified channel settings.
Channel_Properties(Channel_Settings, Crypto_KeyStoreSettings) - Constructor for class anbxj.Channel_Properties
Constructor for Channel_Properties with specified channel settings and key store settings.
Channel_Properties(Channel_Settings, Crypto_KeyStoreSettings_Map) - Constructor for class anbxj.Channel_Properties
Constructor for Channel_Properties with specified channel settings and key store settings map.
Channel_Protobuf - Class in anbxj
A length-delimited communication channel that uses a Channel_MessageSerializer to translate between protocol-level objects and raw bytes, and Google's Protobuf CodedOutputStream/CodedInputStream for compact varint-prefixed framing.
Channel_Protobuf(Socket, Channel_Properties, Channel_MessageSerializer) - Constructor for class anbxj.Channel_Protobuf
Constructs a new protobuf-framed channel for an already connected socket.
Channel_ProtobufOpaqueWrapper - Class in anbxj
Helper class for handling protobuf messages that contain an opaque payload field of type bytes.
Channel_ProtobufOpaqueWrapper(Message) - Constructor for class anbxj.Channel_ProtobufOpaqueWrapper
Constructs a helper for a specific protobuf message type.
Channel_ProtobufSerializer - Class in anbxj
A Channel_MessageSerializer that uses step-specific descriptors to convert Java objects (e.g., AnBx_WireFormats.SignedMessage, AnBx_WireFormats.SealedMessage) into typed Protobuf messages and back.
Channel_ProtobufSerializer(Map<Integer, Channel_ProtobufSerializer.StepDescriptor>) - Constructor for class anbxj.Channel_ProtobufSerializer
Creates a new typed Protobuf serializer.
Channel_ProtobufSerializer.OpaqueStepDescriptor - Class in anbxj
A Channel_ProtobufSerializer.StepDescriptor implementation that wraps a Protobuf message containing an opaque bytes payload.
Channel_ProtobufSerializer.StepDescriptor - Interface in anbxj
Descriptor that handles a single protocol step.
Channel_ProtobufSerializer.StepPayloadDescriptor - Interface in anbxj
Extension of Channel_ProtobufSerializer.StepDescriptor for steps that carry a user-defined payload consisting of multiple fields.
Channel_ProtoServer - Class in anbxj
A single-connection server that uses a Channel_MessageSerializer and a Channel_Protobuf wrapper for length-delimited communication.
Channel_ProtoServer(Channel_Properties, Channel_MessageSerializer) - Constructor for class anbxj.Channel_ProtoServer
Constructs a new Channel_ProtoServer.
Channel_Roles - Enum Class in anbxj
Channel Roles
Channel_Server - Class in anbxj
Server Channel
Channel_Server(Channel_Properties) - Constructor for class anbxj.Channel_Server
Constructor for Channel_Server.
Channel_Settings - Class in anbxj
Represents settings for a communication channel.
Channel_Settings(Channel_Roles, String, int) - Constructor for class anbxj.Channel_Settings
PLAIN channel settings
Channel_Settings(Channel_SSLChannelType, Channel_Roles, String, int) - Constructor for class anbxj.Channel_Settings
Standard channel settings, without SSL context specification
Channel_Settings(Channel_SSLChannelType, Channel_Roles, String, int, String) - Constructor for class anbxj.Channel_Settings
Channel_Settings Constructor
Channel_SSLChannelType - Enum Class in anbxj
Enumeration representing different types of SSL channels.
Channel_SSLChannelUtils - Class in anbxj
Utility methods for SSL/TLS channel setup, eliminating duplication across client, server, proto-server and multi-threaded server implementations.
Channel_SSLContextBuilder - Class in anbxj
A class used to build an SSLContext for creating SocketFactory.
Channel_SSLContextBuilder(Crypto_KeyStoreSettings, String) - Constructor for class anbxj.Channel_SSLContextBuilder
Constructs a Channel_SSLContextBuilder with the given Crypto_KeyStoreSettings.
checkDigest(Object, Crypto_ByteArray) - Method in class anbxj.Crypto_EncryptionEngine
Checks if a given digest matches the calculated digest of an object.
checkHmac(Object, Crypto_ByteArray, SecretKey) - Method in class anbxj.AnB_Crypto_Wrapper
Check a hmac value of a given object computed with the default hashing algorithm and a specified secret key
checkHmacPair(Object, Crypto_HmacPair) - Method in class anbxj.Crypto_EncryptionEngine
Verifies the integrity of an HMAC pair.
checkHmacPairRnd(Object, Crypto_HmacPair, SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Verifies the integrity of an HMAC pair using a secret key as a randomizer.
checkHmacValue(Object, Crypto_ByteArray, SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Verifies the integrity of an HMAC value.
checkPort() - Method in class anbxj.Channel_Abstraction
Checks if the provided port is within the valid range.
cipherScheme - Static variable in class anbxj.Crypto_Config_Default
Cipher Algorithm Name/Cipher Algorithm Mode/Cipher Algorithm Padding (Symmetric Encryption)
cipherScheme - Variable in class anbxj.Crypto_Config
The cipher scheme.
cipherSchemeProvider - Variable in class anbxj.Crypto_Config
The provider for cipher scheme.
client - Variable in class anbxj.Channel_Server
The client socket used for communication.
CLIENT - Enum constant in enum class anbxj.Channel_Roles
Client role
Close() - Method in class anbxj.AnB_Session
Closes the session by closing the channel and logging the closure.
Close() - Method in class anbxj.Channel_Abstraction
Close channel streams
Close() - Method in class anbxj.Channel_Client
Closes the client socket and the associated streams.
Close() - Method in class anbxj.Channel_ExistingSocket
Closes the channel and the underlying socket.
Close() - Method in class anbxj.Channel_Protobuf
Closes the underlying socket.
Close() - Method in class anbxj.Channel_ProtoServer
Closes the underlying protobuf channel and the server socket.
Close() - Method in class anbxj.Channel_Server
Closes the server channel.
configFile - Static variable in class anbxj.AnBx_CommandLine_Parser
Configuration file, set via command line parameters.
connectSocket(Channel_Properties) - Static method in class anbxj.Channel_Client
Creates a client socket connected to the destination described by the given channel properties, using the same retry strategy as Channel_Client.Open().
containsAlias(String) - Method in class anbxj.Crypto_EncryptionEngine
Checks if the key store builder contains a specific alias.
containsAlias(String) - Method in class anbxj.Crypto_KeyStoreBuilder_Map
Checks if the given alias exists in any of the Keystores.
containsAlias(String) - Method in class anbxj.Crypto_KeyStoreBuilder
Checks if the given alias exists in the remote keystore.
cp - Variable in class anbxj.Channel_Abstraction
Properties specific to the channel.
createSessionState(long) - Method in class anbxj.AnB_Protocol
Creates the per-session state object for a new protocol session.
createSSLContext(Channel_Properties) - Static method in class anbxj.Channel_SSLChannelUtils
Builds an SSLContext from the keystore settings and algorithm embedded in the given Channel_Properties.
createSSLServerSocket(int, Channel_Properties) - Static method in class anbxj.Channel_SSLChannelUtils
Creates and configures an SSLServerSocket using the channel properties.
Crypto_ByteArray - Class in anbxj
Byte Array: a custom implementation of a byte array, used to store the result of various cryptographic functions
Crypto_ByteArray(byte[]) - Constructor for class anbxj.Crypto_ByteArray
Constructs a Crypto_ByteArray with the given byte array.
Crypto_ByteArray(byte[], String) - Constructor for class anbxj.Crypto_ByteArray
Constructs a Crypto_ByteArray with the given byte array and comment.
crypto_config - Static variable in class anbxj.AnBx_CommandLine_Parser
Configuration for cryptography, set via command line parameters.
Crypto_Config - Class in anbxj
An abstract class for encryption configuration.
Crypto_Config() - Constructor for class anbxj.Crypto_Config
Constructs a Crypto_Config object with default values.
Crypto_Config(String, int, String, String, int, String, int, String, int, String, int, String, String, String, String, int, String, String, String, String, String, String) - Constructor for class anbxj.Crypto_Config
Constructs a Crypto_Config object with a global provider.
Crypto_Config(String, int, String, String, int, String, int, String, int, String, int, String, String, String, String, int, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String, String) - Constructor for class anbxj.Crypto_Config
Constructs a Crypto_Config object with all the fine-grained providers.
Crypto_Config(Properties) - Constructor for class anbxj.Crypto_Config
Constructs a Crypto_Config object from the properties specified in the given configuration file.
Crypto_Config_Default - Class in anbxj
Default values for cryptographic engine configuration.
Crypto_Config_Default() - Constructor for class anbxj.Crypto_Config_Default
Default constructor
Crypto_EncryptionEngine - Class in anbxj
Cryptographic engine
Crypto_EncryptionEngine(Crypto_Config) - Constructor for class anbxj.Crypto_EncryptionEngine
Constructor for Crypto_EncryptionEngine.
Crypto_EncryptionEngine(Crypto_KeyStoreBuilder_Map) - Constructor for class anbxj.Crypto_EncryptionEngine
Constructor for Crypto_EncryptionEngine.
Crypto_EncryptionEngine(Crypto_KeyStoreBuilder_Map, Crypto_Config) - Constructor for class anbxj.Crypto_EncryptionEngine
Constructor for Crypto_EncryptionEngine.
Crypto_EncryptionEngine(String, String, Crypto_Config) - Constructor for class anbxj.Crypto_EncryptionEngine
Constructs an encryption engine that uses keystores located at keypath for the principal identified by myAlias.
Crypto_Event - Class in anbxj
A custom Java Flight Recorder (JFR) event that captures the execution time and context of a single cryptographic operation inside the AnBx library.
Crypto_Event(String, long, String, long, int) - Constructor for class anbxj.Crypto_Event
Creates a new event with the given method name, duration, detail, session ID, and step number.
Crypto_HmacPair - Class in anbxj
A class to store the result of an HMAC operation along with metadata about the used algorithm.
Crypto_HmacPair(Crypto_ByteArray, Crypto_SealedPair, String) - Constructor for class anbxj.Crypto_HmacPair
Constructs a Crypto_HmacPair with the specified parameters.
Crypto_HmacPair(Crypto_ByteArray, SecretKey, String) - Constructor for class anbxj.Crypto_HmacPair
Constructs a Crypto_HmacPair with the specified parameters.
Crypto_KeyMode - Enum Class in anbxj
Key mode for key generation.
Crypto_KeyPair - Class in anbxj
Represents a public/private key pair.
Crypto_KeyPair(String, int) - Constructor for class anbxj.Crypto_KeyPair
Constructs a Crypto_KeyPair with the specified key algorithm and size.
Crypto_KeyPair(String, int, String) - Constructor for class anbxj.Crypto_KeyPair
Constructs a Crypto_KeyPair with the specified key algorithm, size and provider.
Crypto_KeyStoreBuilder - Class in anbxj
Keystore builder
Crypto_KeyStoreBuilder(Crypto_KeyStoreSettings) - Constructor for class anbxj.Crypto_KeyStoreBuilder
Constructs a Crypto_KeyStoreBuilder with the given Crypto_KeyStoreSettings.
Crypto_KeyStoreBuilder_Map - Class in anbxj
Keystore builder mapping key stores and their type/purpose
Crypto_KeyStoreBuilder_Map(Crypto_KeyStoreSettings_Map) - Constructor for class anbxj.Crypto_KeyStoreBuilder_Map
Constructs a Crypto_KeyStoreBuilder_Map with the given key store settings map.
Crypto_KeyStoreBuilder_Map(Map<Crypto_KeyStoreType, Crypto_KeyStoreBuilder>) - Constructor for class anbxj.Crypto_KeyStoreBuilder_Map
Constructs a Crypto_KeyStoreBuilder_Map with the given map of key stores.
Crypto_KeyStoreSettings - Class in anbxj
Keystore Settings
Crypto_KeyStoreSettings(String, String, String) - Constructor for class anbxj.Crypto_KeyStoreSettings
Constructs a Crypto_KeyStoreSettings object.
Crypto_KeyStoreSettings(String, String, String, String, String, String, String, String) - Constructor for class anbxj.Crypto_KeyStoreSettings
Constructs a Crypto_KeyStoreSettings object with specified parameters.
Crypto_KeyStoreSettings_Map - Class in anbxj
A class mapping key stores and their type/purpose.
Crypto_KeyStoreSettings_Map(String, String) - Constructor for class anbxj.Crypto_KeyStoreSettings_Map
Constructs a Crypto_KeyStoreSettings_Map with the specified path and alias for keystore settings.
Crypto_KeyStoreSettings_Map(Map<Crypto_KeyStoreType, Crypto_KeyStoreSettings>) - Constructor for class anbxj.Crypto_KeyStoreSettings_Map
Constructs a Crypto_KeyStoreSettings_Map with the specified map of keystore settings.
Crypto_KeyStoreType - Enum Class in anbxj
Enumerates key stores for different key purposes in the cryptographic API.
Crypto_OutputMode - Enum Class in anbxj
Defines output mode of various cryptographic operations
Crypto_ProviderInformation - Class in anbxj
This class allows printing information about supported cryptographic providers and algorithms for the installed JRE/JDK.
Crypto_ProviderInformation() - Constructor for class anbxj.Crypto_ProviderInformation
Default constructor.
Crypto_SealedObject - Class in anbxj
Universal sealed (encrypted) container that replaces Crypto_SealedPair in generated code.
Crypto_SealedObject(byte[], byte[], String) - Constructor for class anbxj.Crypto_SealedObject
Constructs a new Crypto_SealedObject from raw fields.
Crypto_SealedObject(Crypto_SealedPair) - Constructor for class anbxj.Crypto_SealedObject
Constructs a new Crypto_SealedObject from an existing Crypto_SealedPair (JavaSer compatibility).
Crypto_SealedPair - Class in anbxj
Represents a sealed pair of objects (key, message) used for encryption.
Crypto_SealedPair(SealedObject, SealedObject, String) - Constructor for class anbxj.Crypto_SealedPair
Constructs a Crypto_SealedPair with the specified sealed key, message, and cipher scheme.
Crypto_SealedPair(SealedObject, SealedObject, String, Crypto_ByteArray) - Constructor for class anbxj.Crypto_SealedPair
Constructs a Crypto_SealedPair with the specified sealed key, message, cipher scheme, and digest.
Crypto_SerializationUtils - Class in anbxj
Utility methods for serializing/deserializing objects using standard Java serialization.
Crypto_SignedObject - Class in anbxj
A serializer-neutral signed container.
Crypto_SignedObject(byte[], byte[], String) - Constructor for class anbxj.Crypto_SignedObject
Creates an instance from raw fields (ProtoBufNew / byte-oriented mode).
Crypto_SignedObject(AnBx_WireFormats.SignedMessage) - Constructor for class anbxj.Crypto_SignedObject
Creates an instance from the Protobuf message wrapper.
Crypto_SignedObject(SignedObject) - Constructor for class anbxj.Crypto_SignedObject
Creates an instance from an existing SignedObject (JavaSer mode).
Crypto_SignedPair - Class in anbxj
Represents a signed pair of objects (SignedObject, Object) used for digital signatures.
Crypto_SignedPair(SignedObject, Object, String) - Constructor for class anbxj.Crypto_SignedPair
Constructs a Crypto_SignedPair with the specified SignedObject, object, and signature scheme.
Crypto_TimeStampException - Exception Class in anbxj
Failed time stamp exception
Crypto_TimeStampException() - Constructor for exception class anbxj.Crypto_TimeStampException
Default constructor
Crypto_TimeStampValidator - Class in anbxj
A class for time stamp validation
Crypto_TimeStampValidator() - Constructor for class anbxj.Crypto_TimeStampValidator
Construct a validator that rejects messages more than five minutes old
Crypto_TimeStampValidator(long) - Constructor for class anbxj.Crypto_TimeStampValidator
Public constructor.
ct - Static variable in class anbxj.AnBx_CommandLine_Parser
Default SSL channel type, overridden by command line parameters.
currentTimeMsec() - Method in class anbxj.Crypto_TimeStampValidator
Get the number of milliseconds since midnight, January 1, 1970 UTC.

D

decrypt(Crypto_SealedObject) - Method in class anbxj.AnB_Crypto_Wrapper
decrypt(Crypto_SealedObject, Crypto_KeyPair) - Method in class anbxj.AnB_Crypto_Wrapper
Decrypts a Crypto_SealedObject using the private key from the specified key pair.
decrypt(Crypto_SealedObject, Crypto_KeyStoreType) - Method in class anbxj.AnB_Crypto_Wrapper
Decrypts a Crypto_SealedObject using a specific key store type.
decrypt(Crypto_SealedObject, SecretKey) - Method in class anbxj.AnB_Crypto_Wrapper
Symmetric decryption that works identically for all serialisers.
decrypt(Crypto_SealedPair) - Method in class anbxj.AnB_Crypto_Wrapper
Decrypts a Crypto_SealedPair with the private key from the default key store associated to current agent
decrypt(Crypto_SealedPair, Crypto_KeyPair) - Method in class anbxj.AnB_Crypto_Wrapper
Decrypts a Crypto_SealedPair with the private key from a specified key pair
decrypt(Crypto_SealedPair, Crypto_KeyPair) - Method in class anbxj.Crypto_EncryptionEngine
Decrypts a sealed pair using the provided key pair.
decrypt(Crypto_SealedPair, Crypto_KeyStoreType) - Method in class anbxj.AnB_Crypto_Wrapper
Decrypts a Crypto_SealedPair with the private key from a specified key store associated to current agent
decrypt(Crypto_SealedPair, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Decrypts a sealed pair using the provided key store type.
decrypt(SealedObject, SecretKey) - Method in class anbxj.AnB_Crypto_Wrapper
Decrypts a SealedObject with a specified symmetric key
decrypt(SealedObject, SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Decrypts a sealed object using the provided symmetric key.
decryptAsymPK(SealedObject, PrivateKey) - Method in class anbxj.Crypto_EncryptionEngine
Decrypts a sealed object using the provided private key.
DECRYPTED_OBJECT - Enum constant in enum class anbxj.Crypto_OutputMode
Output Mode Decrypted Object
decryptRaw(byte[], SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Decrypts the given ciphertext (produced by Crypto_EncryptionEngine.encryptRaw(byte[], SecretKey)) using the provided symmetric key.
DEFAULT_IDLE_TIMEOUT_MS - Static variable in class anbxj.Channel_MultiThreadedServer
Default idle timeout in milliseconds (5 seconds).
DEFAULT_MAX_TIMESTAMP_AGE - Static variable in class anbxj.Crypto_TimeStampValidator
The default maximum age of time stamps is 15 minutes.
DEFAULT_TIMESTAMP_WINDOW - Static variable in class anbxj.Crypto_TimeStampValidator
The default time stamp window
defaultKeyTypeToCipherMap - Static variable in class anbxj.Crypto_Config_Default
Default key type to cipher transformation mapping.
defaultKeyTypeToSignatureMap - Static variable in class anbxj.Crypto_Config_Default
Default key type to signature mapping.
deserialize(byte[]) - Static method in class anbxj.Crypto_SerializationUtils
Deserializes an object from a byte array.
deserialize(byte[], int) - Method in class anbxj.Channel_JavaFramedSerializer
 
deserialize(byte[], int) - Method in interface anbxj.Channel_MessageSerializer
Deserializes a byte array back into a logical protocol message object.
deserialize(byte[], int) - Method in class anbxj.Channel_ProtobufSerializer
Deserializes a byte array back into a logical protocol message object.
dhModulusSize - Static variable in class anbxj.Crypto_Config_Default
Random Exponent length in bit for Diffie-Hellman key agreement
dhModulusSize - Variable in class anbxj.Crypto_Config
The Diffie-Hellman random exponent size.

E

ecGenParameterSpec - Static variable in class anbxj.Crypto_Config_Default
Elliptic Curve.
ecGenParameterSpec - Variable in class anbxj.Crypto_Config
The Elliptic Curve.
ee - Variable in class anbxj.AnB_Crypto_Wrapper
the cryptographic engine
ee - Variable in class anbxj.AnB_Principal
The cryptographic engine
ee - Variable in class anbxj.AnB_Protocol
The cryptographic engine
ee - Variable in class anbxj.Channel_MultiThreadedServer
The cryptographic engine used for creating sessions.
enc - Enum constant in enum class anbxj.Crypto_KeyStoreType
KeyStore type encryption
encrypt(Object, Crypto_KeyPair) - Method in class anbxj.AnB_Crypto_Wrapper
Encrypts an object using the public key extracted from the given key pair.
encrypt(Object, String) - Method in class anbxj.AnB_Crypto_Wrapper
Encrypts an object for the recipient identified by the given alias.
encrypt(Object, String, Crypto_KeyStoreType) - Method in class anbxj.AnB_Crypto_Wrapper
Encrypts an object with a public key retrieved from a specified key store associated to an user identified by an alias
encrypt(Object, String, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Encrypts an object with the specified alias and key store type.
encrypt(Object, PublicKey) - Method in class anbxj.AnB_Crypto_Wrapper
Encrypts an object using the given public key.
encrypt(Object, PublicKey) - Method in class anbxj.Crypto_EncryptionEngine
Encrypts an object with the provided public key.
encrypt(Object, SecretKey) - Method in class anbxj.AnB_Crypto_Wrapper
Symmetric encryption that works identically for all serialisers.
encrypt(Object, SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Encrypts an object with the provided symmetric key and returns the sealed object.
encryptCompare(Object, String, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Encrypts an object with a symmetric key, and also computes a digest for comparison.
ENCRYPTION - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for encryption-related operations.
encryptRaw(byte[], SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Encrypts the given plaintext using the provided symmetric key.
encryptSymmetric(byte[], SecretKey) - Method in class anbxj.AnB_Crypto_Wrapper
Encrypts the given plaintext using the provided symmetric key.
eqCheck(Object, Object) - Method in class anbxj.AnB_Protocol
Checks if two objects are equal without a specific label.
eqCheck(Object, Object, boolean) - Method in class anbxj.AnB_Protocol
Checks if two objects are equal with a flag indicating possible failure.
eqCheck(String, Object, Object) - Method in class anbxj.AnB_Protocol
Checks if two objects are equal with a specified label.
eqCheck(String, Object, Object, boolean) - Method in class anbxj.AnB_Protocol
Checks if two objects are equal with a specified label and a flag indicating possible failure.
equals(Object) - Method in class anbxj.AnBx_Agent
 
equals(Object) - Method in class anbxj.AnBx_Params
 
equals(Object) - Method in class anbxj.AnBx_WireFormats.SealedMessage
 
equals(Object) - Method in class anbxj.AnBx_WireFormats.SignedMessage
 
equals(Object) - Method in class anbxj.Crypto_ByteArray
 
equals(Object) - Method in class anbxj.Crypto_SealedObject
 
equals(Object) - Method in class anbxj.Crypto_SealedPair
 
equals(Object) - Method in class anbxj.Crypto_SignedObject
 
equals(Object) - Method in class anbxj.Crypto_SignedPair
 
equals(Object) - Method in class anbxj.Crypto_TimeStampValidator
 
EXCEPTION - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for handling exceptions.
exchange_identities - Variable in class anbxj.AnB_Principal
Flag to automatically exchange identities during session if set to true
executeStep(AnB_Session, ST, S) - Method in class anbxj.AnB_Protocol
Abstract method to execute a step in the AnB protocol.
extractFields(Message, AnB_Session) - Method in interface anbxj.Channel_ProtobufSerializer.StepPayloadDescriptor
Extracts the original fields from a received payload Protobuf message.

F

filterCipherSuites(Channel_SSLChannelType, String[]) - Static method in class anbxj.Channel_SSLChannelUtils
Filters the given list of supported cipher suites according to the desired SSL channel type.
flushJfr() - Method in class anbxj.AnB_Crypto_Wrapper
Flushes all pending measurements to Java Flight Recorder (JFR) events.
FRESH - Enum constant in enum class anbxj.Crypto_KeyMode
Key mode for dynamically create keys
FRESH_AUTH - Enum constant in enum class anbxj.AnBx_ChannelType
Fresh authentication channel type in AnBx.
FRESH_AUTH_SECRET - Enum constant in enum class anbxj.AnBx_ChannelType
Fresh authentication with secret channel type in AnBx.
fromByteArray(byte[]) - Static method in class anbxj.Crypto_HmacPair
Deserializes a Crypto_HmacPair from a byte array, delegating to Crypto_SerializationUtils.deserialize(byte[]).
fromByteArray(byte[]) - Static method in class anbxj.Crypto_SealedPair
Deserializes a Crypto_SealedPair from a byte array, delegating to Crypto_SerializationUtils.deserialize(byte[]).
fromByteArray(byte[]) - Static method in class anbxj.Crypto_SignedPair
Deserializes a Crypto_SignedPair from a byte array, delegating to Crypto_SerializationUtils.deserialize(byte[]).
fromProtobufField(ByteString, Class<?>, Crypto_EncryptionEngine) - Static method in class anbxj.AnBx_WireFormats
Reconstructs a Java object from a Protobuf field value (a ByteString).
fromProtobufFieldToObject(ByteString, Class<?>, Crypto_EncryptionEngine) - Static method in class anbxj.AnBx_WireFormats
Reconstructs an object that was serialised into a protobuf bytes field.
fromProtobufSealed(AnBx_WireFormats.SealedMessage) - Static method in class anbxj.AnB_Crypto_Wrapper
Reconstructs a Crypto_SealedObject from a Protobuf AnBx_WireFormats.SealedMessage.
fromProtobufSealed(AnBx_WireFormats.SealedMessage) - Static method in class anbxj.Crypto_SealedObject
Reconstructs a Crypto_SealedObject from a Protobuf AnBx_WireFormats.SealedMessage.
fromProtobufSigned(AnBx_WireFormats.SignedMessage) - Static method in class anbxj.AnB_Crypto_Wrapper
Reconstructs a Crypto_SignedObject from a Protobuf AnBx_WireFormats.SignedMessage.
fromProtobufSigned(AnBx_WireFormats.SignedMessage) - Static method in class anbxj.Crypto_SignedObject
Reconstructs a Crypto_SignedObject from a Protobuf AnBx_WireFormats.SignedMessage.

G

getAlgorithm() - Method in class anbxj.AnBx_WireFormats.SignedMessage
Returns the signature algorithm name.
getAlgorithm() - Method in class anbxj.Crypto_HmacPair
Gets the HMAC algorithm.
getAlgorithm() - Method in class anbxj.Crypto_SignedObject
Returns the signature algorithm name.
getAlias() - Method in class anbxj.AnB_Protocol
Get the alias for the current role.
getAppname() - Static method in class anbxj.AnBx_Debug
Retrieve the application name
getAsymCipherSchemeBlock() - Method in class anbxj.Crypto_Config
Returns the asymmetric cipher scheme block.
getAsymEncProvider() - Method in class anbxj.Crypto_Config
Returns the provider for asymmetric encryption algorithm.
getAsymKeyTypeToCipherMap() - Method in class anbxj.Crypto_Config
Returns the asymmetric Key type to Cipher Map
getAsymKeyTypeToSignatureMap() - Method in class anbxj.Crypto_Config
Returns the asymmetric Key type to Signature Map
getAsymmetricCipherDetails(String, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of an asymmetric cipher operation using the public key identified by the given alias and key store type.
getAsymmetricCipherDetails(Key) - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of an asymmetric cipher (encryption/decryption) operation based on the given key.
getAsymmetricSignatureDetails(String, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of an asymmetric signature verification operation using the public key identified by the given alias and key store type.
getAsymmetricSignatureDetails(Key) - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of an asymmetric signature operation based on the given key.
getByteArray() - Method in class anbxj.Crypto_ByteArray
Gets the byte array.
getCert(Crypto_KeyStoreType) - Method in class anbxj.AnBx_Agent
Retrieves the certificate associated with the specified Crypto_KeyStoreType.
getCertificateType() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the certificate type.
getCertPath() - Method in class anbxj.Crypto_KeyStoreBuilder
Retrieves the certificate path from the local keystore.
getChannel() - Method in class anbxj.AnB_Session
Gets the current channel.
getChannelRole() - Method in class anbxj.Channel_Abstraction
Gets the role of the channel.
getChannelRole() - Method in class anbxj.Channel_Properties
Get the role of the communication channel.
getChannelRole() - Method in class anbxj.Channel_ProtoServer
Returns the role of this channel (always Channel_Roles.SERVER).
getChannelRole() - Method in class anbxj.Channel_Settings
Gets the role of the channel.
getChannelSettings() - Method in class anbxj.AnB_Session
Returns the channel settings of the underlying communication channel.
getChannelSettings() - Method in class anbxj.Channel_Abstraction
Retrieves the channel settings associated with this communication channel.
getChannelSettings() - Method in class anbxj.Channel_Properties
Get the channel settings for the communication channel.
getChannelType() - Method in class anbxj.Channel_Properties
Get the channel type for the communication channel.
getChannelType() - Method in class anbxj.Channel_Settings
Gets the type of the channel.
getCipherScheme() - Method in class anbxj.AnBx_WireFormats.SealedMessage
Returns the cipher scheme used for encryption.
getCipherScheme() - Method in class anbxj.Crypto_Config
Returns the cipher scheme.
getCipherScheme() - Method in class anbxj.Crypto_SealedObject
Returns the cipher scheme string.
getCipherScheme() - Method in class anbxj.Crypto_SealedPair
Returns the cipher scheme used.
getCipherSchemeProvider() - Method in class anbxj.Crypto_Config
Returns the provider for the cipher scheme.
getConfigFile() - Method in class anbxj.AnBx_CommandLine_Parser
Loads the properties from the config file
getContent() - Method in class anbxj.AnBx_WireFormats.SignedMessage
Returns a copy of the signed content bytes.
getContent() - Method in class anbxj.Crypto_SignedObject
Returns a copy of the signed content bytes.
getCryptoConfig() - Static method in class anbxj.AnBx_CommandLine_Parser
Returns the cryptographic configuration object.
getCryptoConfig() - Method in class anbxj.Crypto_EncryptionEngine
Get the crypto configuration
getCryptoEngine() - Method in class anbxj.AnB_Crypto_Wrapper
Returns the cryptographic engine
getCurrentSessionId() - Method in class anbxj.AnB_Crypto_Wrapper
Returns the current session ID associated with this wrapper.
getCurrentStep() - Method in class anbxj.AnB_Crypto_Wrapper
Returns the current protocol step number associated with this wrapper.
getDefaultSerializer() - Static method in class anbxj.AnB_Session
Returns the global default message serializer that is currently configured.
getDesc(int) - Method in class anbxj.AnB_Session
Retrieves the Channel_ProtobufSerializer.StepDescriptor associated with the given step.
getDest() - Method in class anbxj.AnBx_ChannelMode
Get the destination agent of the channel mode.
getdhModulusSize() - Method in class anbxj.Crypto_Config
Returns the Diffie-Hellman random exponent size.
getDigestDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns the name of the message digest algorithm currently configured, e.g., "SHA-256".
getEcGenParameterSpec() - Method in class anbxj.Crypto_Config
Returns the Elliptic Curve.
getEnabledCipherSuites(String[]) - Method in class anbxj.Channel_Properties
Get the enabled cipher suites for the communication channel.
getEnabledCipherSuites(String[]) - Method in class anbxj.Channel_Settings
Returns the cipher suites that should be enabled for this channel's SSL type, determined from the full set of supported suites.
getEncryptedKey() - Method in class anbxj.AnBx_WireFormats.SealedMessage
Returns a copy of the encrypted key bytes, or null if no key was transported.
getEncryptedKey() - Method in class anbxj.Crypto_SealedObject
Returns a copy of the encrypted key bytes, or null if no key was transported.
getEncryptedMessage() - Method in class anbxj.Crypto_SealedObject
Returns a copy of the encrypted message bytes.
getHashValue() - Method in class anbxj.Crypto_HmacPair
Gets the hash value.
getHmacAlgorithm() - Method in class anbxj.Crypto_Config
Returns the HMAC algorithm.
getHmacDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of the HMAC configuration.
getHmacKey() - Method in class anbxj.AnB_Crypto_Wrapper
Generates a HMAC secret key
getHmacKey() - Method in class anbxj.Crypto_EncryptionEngine
Generates a secret key for HMAC.
getHmacProvider() - Method in class anbxj.Crypto_Config
Returns the provider for HMAC algorithm.
getHost() - Method in class anbxj.Channel_Properties
Get the host of the communication channel.
getHost() - Method in class anbxj.Channel_Settings
Gets the host of the channel.
getId_Remote() - Method in class anbxj.AnB_Session
Gets the remote identity (AnBx_Agent).
getInfo() - Static method in class anbxj.AnB_Crypto_Wrapper
Prints information about the cryptographic engine including supported algorithms
getInfo() - Static method in enum class anbxj.Channel_SSLChannelType
Returns information about SSL Channel Types.
getInfo() - Method in class anbxj.Crypto_Config
Prints debug information about the crypto configuration.
getInfo() - Static method in class anbxj.Crypto_EncryptionEngine
Displays information about available providers and algorithms.
getInnerPayloadDescriptor() - Method in interface anbxj.Channel_ProtobufSerializer.StepDescriptor
Returns the descriptor for the inner payload that was signed/encrypted, or null if this step does not carry a nested payload.
getK() - Method in class anbxj.Crypto_HmacPair
Gets the sealed pair.
getKeyAgreementAlgorithm() - Method in class anbxj.Crypto_Config
Returns the key agreement algorithm.
getKeyAgreementDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns the name of the key agreement algorithm currently configured, e.g., "DH" or "ECDH".
getKeyAgreementKeyPairDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of the key agreement key pair generation configuration.
getKeyAgreementKeyPairGenerationScheme() - Method in class anbxj.Crypto_Config
Returns the key pair generation scheme for key agreement algorithm.
getKeyAgreementProvider() - Method in class anbxj.Crypto_Config
Returns the provider for key agreement algorithm.
getKeyEx_KeyPair() - Method in class anbxj.AnB_Crypto_Wrapper
Generates a key exchange key pair for the default key agreement algorithm
getKeyEx_KeyPair() - Method in class anbxj.Crypto_EncryptionEngine
Generates a key pair for key exchange based on the configured key agreement algorithm.
getKeyEx_PublicKey(KeyPair) - Method in class anbxj.AnB_Crypto_Wrapper
Retrieves the public key from a specified key exchange key pair
getKeyEx_PublicKey(KeyPair) - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the public key from a key pair generated for key exchange.
getKeyEx_SecretKey(PublicKey, KeyPair) - Method in class anbxj.AnB_Crypto_Wrapper
Retrieves the secret key from a specified key exchange key pair and associated public key
getKeyEx_SecretKey(PublicKey, KeyPair) - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the secret key for key exchange based on the public and private keys.
getKeyGenerationScheme() - Method in class anbxj.Crypto_Config
Returns the key generation scheme.
getkeyGenerationSchemePBEProvider() - Method in class anbxj.Crypto_Config
Returns the provider for PBE key generation.
getkeyGenerationSchemeProvider() - Method in class anbxj.Crypto_Config
Returns the provider for key generation.
getKeyGenerationSize() - Method in class anbxj.Crypto_Config
Returns the key generation size.
getKeyPair() - Method in class anbxj.AnB_Crypto_Wrapper
Generates a key pair for the default public key algorithm
getKeyPair() - Method in class anbxj.Crypto_EncryptionEngine
Generates a key pair.
getKeyPair_PublicKey(Crypto_KeyPair) - Method in class anbxj.Crypto_EncryptionEngine
Gets the public key from a key pair.
getKeyPairDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of the asymmetric key pair generation configuration.
getKeyPairGenerationProvider() - Method in class anbxj.Crypto_Config
Returns the provider for key pair generation.
getKeyPairGenerationScheme() - Method in class anbxj.Crypto_Config
Returns the key pair generation scheme.
getKeyPairGenerationSize() - Method in class anbxj.Crypto_Config
Returns the key pair generation size.
getKeypath() - Static method in class anbxj.AnBx_CommandLine_Parser
Returns the path to the directory containing keystore files.
getKeySize() - Method in class anbxj.Crypto_Config
Returns the key size.
getKeyStoreBuilder(Crypto_KeyStoreType) - Method in class anbxj.Crypto_KeyStoreBuilder_Map
Gets the Keystore builder for the specified Keystore type.
getKeyStoreSettings() - Method in class anbxj.Channel_Properties
Get the key store settings for the communication channel.
getKeyStoreSettings(Crypto_KeyStoreType) - Method in class anbxj.Crypto_KeyStoreSettings_Map
Get the keystore settings for the specified keystore type.
getKeyStoreSettings_Map() - Method in class anbxj.AnB_Crypto_Wrapper
Retrieve the default Crypto_KeyStoreSettings_Map for the current cryptographic engine
getKeyStoreSettings_Map() - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the key store settings map.
getKeyStoreSettings_Map() - Method in class anbxj.Crypto_KeyStoreBuilder_Map
Gets the key store settings map.
getKeyStoreSettings_Map() - Method in class anbxj.Crypto_KeyStoreSettings_Map
Get the map of keystore settings.
getKeyStoreType() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the key store type.
getKss() - Method in class anbxj.Crypto_KeyStoreBuilder
Gets the Crypto_KeyStoreSettings.
getLength() - Method in class anbxj.Crypto_ByteArray
Gets the length of the byte array.
getLocaleCertificate() - Method in class anbxj.Crypto_KeyStoreBuilder
Gets the local certificate.
getLocaleCertificate(Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the local certificate for a specified key store type.
getLocaleCertificates() - Method in class anbxj.Crypto_EncryptionEngine
Retrieves a map of local certificates for different key store types.
getLocaleCertificates() - Method in class anbxj.Crypto_KeyStoreBuilder_Map
Gets the local certificates from all Keystores.
getLocalKeyStore() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the local key store path.
getLocalPrivateKey() - Method in class anbxj.Crypto_KeyStoreBuilder
Gets the local private key.
getMessageDigestAlgorithm() - Method in class anbxj.Crypto_Config
Returns the message digest algorithm.
getMessageDigestProvider() - Method in class anbxj.Crypto_Config
Returns the provider for message digest algorithm.
getMessageDigestSignatureAlgorithm() - Method in class anbxj.Crypto_Config
Returns the message digest signature algorithm.
getmultiThreadedTimeout() - Method in class anbxj.Crypto_Config
Returns the idle timeout (in milliseconds) for the multi-threaded server.
getMyAlias() - Method in class anbxj.Crypto_KeyStoreBuilder
Gets the alias of the key.
getMyAlias() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the alias used in the keystore.
getMyAlias(Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the alias associated with a key store type.
getMyIdentity() - Method in class anbxj.AnB_Crypto_Wrapper
Retrieve the identity of the current agent
getName() - Method in class anbxj.AnB_Crypto_Wrapper
Returns the agent name associated with this for the current AnB_Crypto_Wrapper
getName() - Method in class anbxj.AnBx_Agent
 
getNonce() - Method in class anbxj.AnB_Crypto_Wrapper
Generates a fresh nonce
getNonce() - Method in class anbxj.Crypto_EncryptionEngine
Generates and retrieves a nonce (number used once).
getNonceDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of a nonce generation operation.
getNonceSize() - Method in class anbxj.Crypto_Config
Returns the nonce length in bytes.
getOrig() - Method in class anbxj.AnBx_ChannelMode
Get the origin agent of the channel mode.
getParallelClients() - Method in class anbxj.Crypto_Config
Returns the configured number of parallel clients.
getParellelClientsInterval() - Method in class anbxj.Crypto_Config
Returns the sleep interval (in milliseconds) between two consecutive parallel client sessions.
getPassphraseLocalKeyStore() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the passphrase for the local keystore.
getPassphrasePrivateKeyLocalKeyStore() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the passphrase for the private key in the local keystore.
getPassphraseRemoteKeyStore() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the passphrase for the remote keystore.
getPayload(Message) - Method in class anbxj.Channel_ProtobufOpaqueWrapper
Extracts the opaque payload from a protobuf message of the configured type.
getPbeDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of the Password-Based Encryption (PBE) key generation configuration.
getPort() - Method in class anbxj.Channel_Properties
Get the port of the communication channel.
getPort() - Method in class anbxj.Channel_Settings
Gets the port of the channel.
getPrivateKey() - Method in class anbxj.Crypto_KeyPair
Gets the private key in the key pair.
getPrivateKeyCipherDetails(Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of an asymmetric cipher operation using the local private key identified by the given key store type.
getPrivateKeySignatureDetails(Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of an asymmetric signing operation using the local private key identified by the given key store type.
getPublicKey() - Method in class anbxj.Crypto_KeyPair
Gets the public key in the key pair.
getPublicKey(Crypto_KeyPair) - Method in class anbxj.AnB_Crypto_Wrapper
Retrieves the public key from a specified key pair
getPublicKey(String, Crypto_KeyStoreType) - Method in class anbxj.AnB_Crypto_Wrapper
Retrieve a public key associated to an agent's alias for a specified Crypto_KeyStoreType
getPublicKey(String, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the public key associated with the specified alias and key store type.
getRemoteCertificate(String) - Method in class anbxj.Crypto_KeyStoreBuilder
Gets the remote certificate with the specified alias.
getRemoteCertificate(String, Crypto_KeyStoreType) - Method in class anbxj.AnB_Crypto_Wrapper
Retrieve the certificate associated to an agent's alias for a specified Crypto_KeyStoreType
getRemoteCertificate(String, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the remote certificate associated with a specified alias and key store type.
getRemoteCertificates(String) - Method in class anbxj.AnB_Crypto_Wrapper
Retrieve the certificates associated to an agent's alias
getRemoteCertificates(String) - Method in class anbxj.Crypto_EncryptionEngine
Retrieves a map of remote certificates associated with a specified alias.
getRemoteCertificates(String) - Method in class anbxj.Crypto_KeyStoreBuilder_Map
Gets the remote certificates for the given alias from all Keystores.
getRemoteKeyStore() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the path of the remote keystore.
getRemotePublicKey(String) - Method in class anbxj.Crypto_KeyStoreBuilder
Gets the remote public key with the specified alias.
getRole() - Method in class anbxj.AnBx_CommandLine_Parser
Get the role name
getRoleShare(Class<R>) - Method in class anbxj.AnBx_CommandLine_Parser
Gets the role used to share information during the protocol setup
getRootCA() - Method in class anbxj.Crypto_KeyStoreSettings
Gets the root CA path.
getSealedKey() - Method in class anbxj.Crypto_SealedPair
Returns the sealed key.
getSealedMessage() - Method in class anbxj.AnBx_WireFormats.SealedMessage
Returns a copy of the sealed (encrypted) message bytes.
getSealedMessage() - Method in class anbxj.Crypto_SealedPair
Returns the sealed message.
getSecureRandomAlgorithm() - Method in class anbxj.Crypto_Config
Returns the secure random algorithm.
getSecureRandomProvider() - Method in class anbxj.Crypto_Config
Returns the provider for secure random algorithm.
getSecurityProvider() - Method in class anbxj.Crypto_Config
Returns the global security provider.
getSeqNumber() - Method in class anbxj.AnB_Crypto_Wrapper
Generates a sequence number
getSeqNumberDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of a sequence number generation operation.
getSerializer() - Method in class anbxj.Channel_Client
 
getSerializer() - Method in class anbxj.Channel_ExistingSocket
 
getSerializer() - Method in class anbxj.Channel_Protobuf
 
getSerializer() - Method in class anbxj.Channel_ProtoServer
 
getSerializer() - Method in class anbxj.Channel_Server
 
getSessions() - Method in class anbxj.AnB_Protocol
Returns the number of sessions that are currently being executed.
getSessions() - Method in class anbxj.Crypto_Config
Returns the number of sequential sessions to be executed.
getSignature() - Method in class anbxj.AnBx_WireFormats.SignedMessage
Returns a copy of the signature bytes.
getSignature() - Method in class anbxj.Crypto_SignedObject
Returns a copy of the raw signature bytes.
getSignatureAlgorithm() - Method in class anbxj.Crypto_EncryptionEngine
Returns the signature algorithm name currently configured in the cryptographic engine.
getSignatureProvider() - Method in class anbxj.Crypto_Config
Returns the provider for signature algorithm.
getSignatureScheme() - Method in class anbxj.Crypto_SignedPair
Gets the signature scheme used for digital signatures.
getSignedContent() - Method in class anbxj.Crypto_SignedPair
Gets the signed content in the signed pair.
getSignedObject() - Method in class anbxj.Crypto_SignedObject
Returns the original SignedObject if this instance was created from one (JavaSer mode), otherwise null.
getSignedObject() - Method in class anbxj.Crypto_SignedPair
Gets the SignedObject in the signed pair.
getSK() - Method in class anbxj.Crypto_HmacPair
Gets the secret key.
getSslContext() - Method in class anbxj.Crypto_Config
Returns the SSL context.
getSSLContext() - Method in class anbxj.Channel_SSLContextBuilder
Gets the SSLContext.
getSSLContextAlgorithm() - Method in class anbxj.Channel_Properties
Get channel SSL context.
getSSLContextAlgorithm() - Method in class anbxj.Channel_Settings
Gets the type of the channel.
getSslContextProvider() - Method in class anbxj.Crypto_Config
Returns the provider for SSL context.
getSymmetricDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of the symmetric cipher configuration from the current cryptographic settings, without a specific key.
getSymmetricDetails(SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Returns a compact description of the symmetric cipher configuration used with the given secret key.
getSymmetricKey() - Method in class anbxj.AnB_Crypto_Wrapper
Generates a symmetric key
getSymmetricKey() - Method in class anbxj.Crypto_EncryptionEngine
Generates a symmetric key.
getSymmetricKey(Crypto_KeyMode) - Method in class anbxj.AnB_Crypto_Wrapper
Generates a symmetric key specifying a key mode
getSymmetricKey(Crypto_KeyMode) - Method in class anbxj.Crypto_EncryptionEngine
Generates a symmetric key
getSymmetricKeyPBE(String, String) - Method in class anbxj.AnB_Crypto_Wrapper
Generates a symmetric key for Password Based Encryption (PBE)
getSymmetricKeyPBE(String, String) - Method in class anbxj.Crypto_EncryptionEngine
Generates a symmetric key using a password and salt.
getTimeStamp() - Method in class anbxj.AnB_Crypto_Wrapper
Generates a time stamp
getTimeStamp() - Method in class anbxj.Crypto_EncryptionEngine
Retrieves the current timestamp as an Instant.
getTimestampDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a fixed description for a timestamp operation.
getTSA_CertPath() - Method in class anbxj.Crypto_EncryptionEngine
Gets the TSA CertPath.
getUseKeyEx() - Method in class anbxj.Crypto_Config
Returns whether the protocol uses key exchange (e.g., Diffie-Hellman).
getUseKeyStore() - Method in class anbxj.Crypto_Config
Returns whether the protocol uses a key store (for asymmetric keys).
getValue(int) - Method in class anbxj.AnBx_Params
Retrieve an object from the array of AnBx parameters
getVers() - Method in class anbxj.AnBx_ChannelMode
Get the array of version agents.
getXorDetails() - Method in class anbxj.Crypto_EncryptionEngine
Returns a fixed description for an XOR operation.

H

hashCode() - Method in class anbxj.AnBx_Agent
 
hashCode() - Method in class anbxj.AnBx_Params
 
hashCode() - Method in class anbxj.AnBx_WireFormats.SealedMessage
 
hashCode() - Method in class anbxj.AnBx_WireFormats.SignedMessage
 
hashCode() - Method in class anbxj.Crypto_ByteArray
 
hashCode() - Method in class anbxj.Crypto_SealedObject
 
hashCode() - Method in class anbxj.Crypto_SealedPair
 
hashCode() - Method in class anbxj.Crypto_SignedObject
 
hashCode() - Method in class anbxj.Crypto_SignedPair
 
hk() - Static method in enum class anbxj.Crypto_KeyStoreType
Gets the key store type for hybrid keys.
hmac(byte[], SecretKey) - Method in class anbxj.AnB_Crypto_Wrapper
Computes an HMAC (keyed-hash message authentication code) over the given data using the provided secret key.
hmacAlgorithm - Static variable in class anbxj.Crypto_Config_Default
KeyGenerator Algorithms for Hmac
hmacAlgorithm - Variable in class anbxj.Crypto_Config
The HMAC algorithm.
hmacKeySize - Static variable in class anbxj.Crypto_Config_Default
Key length in bits for Hmac algorithms supporting different key lengths
hmacKeySize - Variable in class anbxj.Crypto_Config
The HMAC algorithm key size.
hmacProvider - Variable in class anbxj.Crypto_Config
The provider for HMAC algorithm.
hmacRaw(byte[], SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Computes an HMAC (keyed-hash message authentication code) over the given data using the provided secret key.
hmc - Enum constant in enum class anbxj.Crypto_KeyStoreType
KeyStore type hmac

I

ident_ks - Variable in class anbxj.AnB_Crypto_Wrapper
the crypto store type
ident_ks() - Static method in enum class anbxj.Crypto_KeyStoreType
Gets the key store type for identity.
init() - Method in class anbxj.AnB_Protocol
Abstract method to initialise the AnB protocol.
init(Crypto_EncryptionEngine, String, Map<String, Channel_Settings>, Map<String, String>, Crypto_Config, Channel_MessageSerializer) - Method in class anbxj.AnB_Principal
Single initialisation point for all session maps.
initProtocol() - Method in class anbxj.AnBx_CommandLine_Parser
Initialise the protocol
initRole(Channel_SSLChannelType, R, Map<String, Channel_Settings>, Map<String, String>, Class<R>, Class<C>) - Method in class anbxj.AnBx_CommandLine_Parser
Initialise the role
INSTANCE - Static variable in class anbxj.Channel_JavaFramedSerializer
A shared, thread-safe instance (the class has no state).
invCheck(Object) - Method in class anbxj.AnB_Protocol
Perform an inverse check without a label for a single object.
invCheck(Object, Class<?>) - Method in class anbxj.AnB_Protocol
Perform an inverse check without a label for an object and a class.
invCheck(Object, Object) - Method in class anbxj.AnB_Protocol
Perform an inverse check without a label for two objects.
invCheck(String, Object) - Method in class anbxj.AnB_Protocol
Perform an inverse check with a label for a single object.
invCheck(String, Object, Class<?>) - Method in class anbxj.AnB_Protocol
Perform an inverse check with a label for an object and a class.
invCheck(String, Object, Object) - Method in class anbxj.AnB_Protocol
Perform an inverse check with a label for two objects.
is_CryptoKeyStorePK() - Method in enum class anbxj.Crypto_KeyStoreType
Checks if the key store is for public keys.
is_CryptoKeyStoreSK() - Method in enum class anbxj.Crypto_KeyStoreType
Checks if the key store is for secret keys.
isAbortOnFail() - Method in class anbxj.AnB_Protocol
Get the value of abortOnFail.
isAuthenticatedChannel() - Method in class anbxj.Channel_Properties
Check if the communication channel is an authenticated channel.
isAuthenticatedChannel() - Method in class anbxj.Channel_Settings
Checks if the channel is authenticated.
isCertified() - Method in class anbxj.AnBx_Agent
Checks if the AnBx_Agent has certificates for all specified Crypto_KeyStoreTypes.
isCheckAnyway() - Method in class anbxj.AnB_Protocol
Return the value of checkAnyway
isFirstRole(C, R) - Method in class anbxj.AnBx_CommandLine_Parser
Get the sender role in a channel
isFresh() - Method in class anbxj.AnBx_ChannelMode
Check if the channel mode is fresh.
isFrw() - Method in class anbxj.AnBx_ChannelMode
Check if the channel mode is forward.
isLoggingExecTimeEnabled() - Static method in class anbxj.AnB_Crypto_Wrapper
Checks whether logging is currently enabled.
isMultiThreaded() - Method in class anbxj.Crypto_Config
Returns whether multi-threaded execution is enabled.
isSecretChannel() - Method in class anbxj.Channel_Properties
Check if the communication channel is a secret channel.
isSecretChannel() - Method in class anbxj.Channel_Settings
Checks if the channel is secret.
isServer() - Method in class anbxj.AnB_Session
Determines whether the current session is acting as a server.

K

keyAgreementAlgorithm - Static variable in class anbxj.Crypto_Config_Default
KeyAgreement Algorithm
keyAgreementAlgorithm - Variable in class anbxj.Crypto_Config
The key agreement algorithm.
keyAgreementKeyPairGenerationScheme - Static variable in class anbxj.Crypto_Config_Default
KeyPairGeneration for KeyAgreement Algorithm
keyAgreementKeyPairGenerationScheme - Variable in class anbxj.Crypto_Config
The key pair generation for key agreement algorithm.
keyAgreementProvider - Variable in class anbxj.Crypto_Config
The provider for key agreement algorithm.
keyGenerationScheme - Static variable in class anbxj.Crypto_Config_Default
KeyGenerator Algorithm Name used for dynamic key generation (Symmetric Encryption)
keyGenerationScheme - Variable in class anbxj.Crypto_Config
The key generation scheme.
keyGenerationSchemePBE - Static variable in class anbxj.Crypto_Config_Default
SecretKeyFactory Algorithm used for Password Based Encryption (PBE) dynamic key generation (Symmetric Encryption)
keyGenerationSchemePBE - Variable in class anbxj.Crypto_Config
The key generation scheme for password-based encryption (PBE).
keyGenerationSchemePBEProvider - Variable in class anbxj.Crypto_Config
The provider for PBE key generation.
keyGenerationSchemeProvider - Variable in class anbxj.Crypto_Config
The provider for key generation.
keyGenerationSize - Static variable in class anbxj.Crypto_Config_Default
Key length in bits for ciphers, used for dynamic key generation, supporting different key lengths
keyGenerationSize - Variable in class anbxj.Crypto_Config
s The key generation size.
keyPairGenerationScheme - Static variable in class anbxj.Crypto_Config_Default
KeyPairGenerator Algorithm dynamic creation of Key Pairs (Asymmetric Encryption)
keyPairGenerationScheme - Variable in class anbxj.Crypto_Config
The key pair generation scheme.
keyPairGenerationSchemeProvider - Variable in class anbxj.Crypto_Config
The provider for key pair generation.
keyPairGenerationSize - Static variable in class anbxj.Crypto_Config_Default
KeyPairGenerator key length for dynamic creation of Key Pairs
keyPairGenerationSize - Variable in class anbxj.Crypto_Config
The key pair generation size.
keypath - Static variable in class anbxj.AnBx_CommandLine_Parser
Path to the key file, set via command line parameters.
keySize - Static variable in class anbxj.Crypto_Config_Default
Key length in bits for ciphers supporting different key lengths
keySize - Variable in class anbxj.Crypto_Config
The key size.
keyTypeToCipherMap - Variable in class anbxj.Crypto_Config
Mapping of key algorithm names to cipher transformation strings.
keyTypeToSignatureMap - Variable in class anbxj.Crypto_Config
Mapping of asymmetric key algorithm names to signature algorithm names.
kss - Variable in class anbxj.Crypto_KeyStoreBuilder
A local copy of channel properties

L

LANGUAGE - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for language-related operations.
layer - Static variable in class anbxj.AnB_Protocol
The layer for debugging purposes.
layer - Variable in class anbxj.AnBx_CommandLine_Parser
The layer for the application.
layer - Static variable in class anbxj.Channel_Server
The layer associated with the network.
lbs - Variable in class anbxj.AnB_Principal
Mapping agent identities and sessions
lbs - Variable in class anbxj.AnB_Protocol
Mapping of session names to session instances.
listAlgorithms() - Static method in class anbxj.Crypto_ProviderInformation
Prints the list of supported algorithms.
listAliases(KeyStore, String) - Method in class anbxj.Crypto_KeyStoreBuilder
Lists the aliases in the given keystore.
listProviders() - Static method in class anbxj.Crypto_ProviderInformation
Prints the list of all supported providers.
listProviders(boolean, AnBx_Layers) - Static method in class anbxj.Crypto_ProviderInformation
Prints the list of all supported providers with optional details.
listProviders(AnBx_Layers) - Static method in class anbxj.Crypto_ProviderInformation
Prints the list of all supported providers, with a specific log debug layer
localKeyStore - Variable in class anbxj.Crypto_KeyStoreBuilder
KeyStore for storing our public/private key pair

M

makeDigest(Object) - Method in class anbxj.AnB_Crypto_Wrapper
Computes the hash of a given object with the default hashing algorithm
makeDigest(Object) - Method in class anbxj.Crypto_EncryptionEngine
Calculates the digest of an object.
makeHmac(Object, String) - Method in class anbxj.Crypto_EncryptionEngine
Creates an HMAC pair using a specified alias.
makeHmac(Object, SecretKey) - Method in class anbxj.AnB_Crypto_Wrapper
Computes the hmac of a given object with the default hashing algorithm and a specified secret key
makeHmacRnd(Object, SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Creates an HMAC pair using a secret key as a randomiser.
makeHmacValue(Object, SecretKey) - Method in class anbxj.Crypto_EncryptionEngine
Calculates the HMAC value of an object using a secret key.
maxTimestampAgeMsec - Variable in class anbxj.Crypto_TimeStampValidator
Tha maximum timestamp age in ms
me - Variable in class anbxj.AnB_Crypto_Wrapper
the identity of the agent
me - Variable in class anbxj.AnB_Protocol
the identity of the agent
measurements - Variable in class anbxj.AnB_Crypto_Wrapper
A thread-safe queue that collects execution-time measurements for the current AnB_Crypto_Wrapper instance.
messageDigestAlgorithm - Static variable in class anbxj.Crypto_Config_Default
MessageDigest Algorithm (Hash)
messageDigestAlgorithm - Variable in class anbxj.Crypto_Config
The message digest algorithm.
messageDigestProvider - Variable in class anbxj.Crypto_Config
The provider for message digest algorithm.
messageDigestSignatureAlgorithm - Static variable in class anbxj.Crypto_Config_Default
MessageDigest Signature Algorithm (Hash) Corresponds to the "digest" part of "digest"with"encryption" of the Signature algorithm name
messageDigestSignatureAlgorithm - Variable in class anbxj.Crypto_Config
The message digest algorithm.
multiThreaded - Variable in class anbxj.Crypto_Config
Flag indicating whether multi-threaded execution is enabled.
multiThreadedTimeout - Variable in class anbxj.Crypto_Config
Idle timeout in milliseconds for the multi-threaded server.
myAlias - Static variable in class anbxj.AnBx_CommandLine_Parser
Alias for identification, set via command line parameters.

N

name - Variable in class anbxj.AnB_Protocol
The name of the protocol.
NETWORK - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for network-related operations.
nextSessionID() - Method in class anbxj.AnB_Protocol
Returns the next unique session ID (thread-safe).
nonceSize - Static variable in class anbxj.Crypto_Config_Default
Nonce length in bytes for protocol-level nonces and sequence numbers.
nonceSize - Variable in class anbxj.Crypto_Config
Nonce length in bytes for protocol-level nonces and sequence numbers.
noteqCheck(Object, Object) - Method in class anbxj.AnB_Protocol
Checks if two objects are not equal without a specific label.
noteqCheck(String, Object, Object) - Method in class anbxj.AnB_Protocol
Checks if two objects are not equal with a specified label.

O

OBJECT - Enum constant in enum class anbxj.Crypto_OutputMode
Output Mode Object
OpaqueStepDescriptor(Message) - Constructor for class anbxj.Channel_ProtobufSerializer.OpaqueStepDescriptor
Constructs an OpaqueStepDescriptor for a given Protobuf message type.
Open() - Method in class anbxj.AnB_Session
Opens the session by initiating the channel, exchanging IDs if required.
Open() - Method in class anbxj.Channel_Abstraction
Opens the channel, by invoking the checkPort method.
Open() - Method in class anbxj.Channel_Client
Opens the client channel and establishes a connection to the remote server.
Open() - Method in class anbxj.Channel_ExistingSocket
Opens the channel by initialising the object streams on the underlying socket.
Open() - Method in class anbxj.Channel_Protobuf
Does nothing - the socket is expected to be already connected when the channel is created.
Open() - Method in class anbxj.Channel_ProtoServer
Opens the server socket and waits for a single client connection.
Open() - Method in class anbxj.Channel_Server
Opens the server channel.
openClient(int) - Method in class anbxj.Channel_Server
Accepts a client connection and opens the stream.
openServerSocket(int) - Method in class anbxj.Channel_Server
Opens the server socket on the specified port.
openStream(int) - Method in class anbxj.Channel_Server
Opens the stream based on the channel type.
OpenStreams(Socket) - Method in class anbxj.Channel_Abstraction
Opens input and output streams for the specified socket.
out(AnBx_Layers, Object) - Static method in class anbxj.AnBx_Debug
Print a debug message related to an object based on the debug level set and the current layer

P

parallelClients - Variable in class anbxj.Crypto_Config
Number of parallel clients
parellelClientsInterval - Variable in class anbxj.Crypto_Config
Sleep interval in milliseconds between two consecutive parallel client sessions.
parseFrom(byte[]) - Static method in class anbxj.AnBx_WireFormats.SealedMessage
Reconstructs a SealedMessage from the bytes produced by AnBx_WireFormats.SealedMessage.toByteArray().
parseFrom(byte[]) - Static method in class anbxj.AnBx_WireFormats.SignedMessage
Reconstructs a SignedMessage from the bytes produced by AnBx_WireFormats.SignedMessage.toByteArray().
parseFrom(byte[]) - Method in class anbxj.Channel_ProtobufOpaqueWrapper
Parses a protobuf message from its binary serialized form.
parseFrom(byte[]) - Method in class anbxj.Channel_ProtobufSerializer.OpaqueStepDescriptor
Parses a Protobuf message from its binary representation.
parseFrom(byte[]) - Method in interface anbxj.Channel_ProtobufSerializer.StepDescriptor
Parses a byte array into the step-specific Protobuf message.
pk() - Static method in enum class anbxj.Crypto_KeyStoreType
Gets the key store type for public keys.
PLAIN - Enum constant in enum class anbxj.AnB_ChannelType
standard PLAIN channel
PLAIN - Enum constant in enum class anbxj.AnBx_ChannelType
Plain channel type in AnBx.
PRESHARED - Enum constant in enum class anbxj.Crypto_KeyMode
Key mode for pre-shared create keys
protname - Static variable in class anbxj.AnBx_CommandLine_Parser
Name of the protocol, set via command line parameters.
PROTOCOL - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for protocol-related operations.

R

readConfigFile(Map<String, String>, Class<R>, R) - Method in class anbxj.AnBx_CommandLine_Parser
Reads the properties from the config file
readObject(String) - Static method in class anbxj.AnB_Crypto_Wrapper
Writes a serialised object from the file system
readObject(String) - Static method in class anbxj.Crypto_EncryptionEngine
Reads an object from a file.
Receive() - Method in class anbxj.AnB_Session
Receives an object using the current channel.
Receive() - Method in class anbxj.Channel_Abstraction
Receives an object from the input stream.
Receive() - Method in class anbxj.Channel_Protobuf
Reads a varint-prefixed message from the socket, deserializes it using the current step number, and returns the reconstructed protocol object.
Receive() - Method in class anbxj.Channel_ProtoServer
Receives an object from the current protobuf channel.
Receive(Channel_Abstraction) - Method in class anbxj.AnB_Crypto_Wrapper
Receive an object from a channel
Receive(Class<?>, List<Class<?>>, long, long) - Method in class anbxj.Channel_Abstraction
Receives an object of a specified type with additional safety checks.
Receive_RemoteId() - Method in class anbxj.AnB_Session
Receives the remote identity (AnBx_Agent) using the current channel.
Receive_RemoteId(Channel_Abstraction) - Method in class anbxj.AnB_Crypto_Wrapper
Receive the identity of an agent from a channel
releaseGarbage() - Method in class anbxj.Crypto_TimeStampValidator
Allow objects that are no longer useful to become garbage.
remoteKeyStore - Variable in class anbxj.Crypto_KeyStoreBuilder
// KeyStore for storing the other public keys
reset() - Method in class anbxj.AnBx_Params
Reset the array of objects to null
role - Variable in class anbxj.AnB_Protocol
The role of the protocol.
role - Variable in class anbxj.AnBx_CommandLine_Parser
Role enumeration, set via command line parameters.
run(AnB_Protocol<S, R, ST>) - Method in class anbxj.AnB_Principal
Runs the specified AnB protocol (single session).
run(Map<String, AnB_Session>, Map<String, String>) - Method in class anbxj.AnB_Protocol
Runs the protocol with the given maps of sessions and aliases.
runProtocol(Map<String, AnB_Session>) - Method in class anbxj.AnB_Protocol
Runs the protocol using the session count defined in the crypto configuration.
runProtocol(Map<String, AnB_Session>, long) - Method in class anbxj.AnB_Protocol
Runs the protocol using the supplied channel templates and session count.
runSession(Map<String, AnB_Session>, ST) - Method in class anbxj.AnB_Protocol
Executes the complete protocol for one logical session.

S

safeReadObject(Class<?>, List<Class<?>>, long, long, InputStream) - Static method in class anbxj.Channel_Abstraction
A method to replace the unsafe ObjectInputStream.readObject() method built into Java.
SealedMessage(byte[], byte[], String) - Constructor for class anbxj.AnBx_WireFormats.SealedMessage
Constructs a new SealedMessage wrapper.
SECRET - Enum constant in enum class anbxj.AnBx_ChannelType
Secret channel type in AnBx.
secureRandomAlgorithm - Static variable in class anbxj.Crypto_Config_Default
SecureRandom Number Generation Algorithm
secureRandomAlgorithm - Variable in class anbxj.Crypto_Config
The secure random algorithm.
secureRandomProvider - Variable in class anbxj.Crypto_Config
The provider for secure random algorithm.
securityProvider - Static variable in class anbxj.Crypto_Config_Default
The default security provider
securityProvider - Variable in class anbxj.Crypto_Config
The global security provider.
seen(Object) - Method in class anbxj.AnB_Protocol
Checks if the specified object has been seen.
seen(String, Object) - Method in class anbxj.AnB_Protocol
Checks if the specified object has been seen with a given label.
Send(Object) - Method in class anbxj.AnB_Session
Sends an object using the current channel.
Send(Object) - Method in class anbxj.Channel_Abstraction
Sends an object through the output stream.
Send(Object) - Method in class anbxj.Channel_Protobuf
Serializes the given object using the current step number, prefixed the resulting bytes with a varint length, and sends them over the socket.
Send(Object) - Method in class anbxj.Channel_ProtoServer
Sends an object through the current protobuf channel.
Send(Object, Channel_Abstraction) - Method in class anbxj.AnB_Crypto_Wrapper
Send an object over a channel
Send_Id() - Method in class anbxj.AnB_Session
Sends the local identity (me) using the current channel.
Send_Id(AnBx_Agent, Channel_Abstraction) - Method in class anbxj.AnB_Crypto_Wrapper
Send the identity of an agent over a channel
serialize(Object) - Static method in class anbxj.Crypto_SerializationUtils
Serializes an object to a byte array using Java object serialization.
serialize(Object, int) - Method in class anbxj.Channel_JavaFramedSerializer
 
serialize(Object, int) - Method in interface anbxj.Channel_MessageSerializer
Serializes a logical protocol message into a byte array.
serialize(Object, int) - Method in class anbxj.Channel_ProtobufSerializer
Serializes a logical protocol message into a byte array.
server - Variable in class anbxj.Channel_Server
The server socket used for communication.
SERVER - Enum constant in enum class anbxj.Channel_Roles
Server role
SESSION - Enum constant in enum class anbxj.AnBx_Layers
AnBx Debug/Logging layer for session-related operations.
sessionID - Variable in class anbxj.AnB_Protocol
Per-instance session ID counter (one per role instance).
sessions - Static variable in class anbxj.AnBx_CommandLine_Parser
Number of sessions for the protocol run, set via command line parameters.
sessions - Variable in class anbxj.Crypto_Config
Number of sessions
setAbortOnFail(boolean) - Method in class anbxj.AnB_Protocol
Set the value of abortOnFail.
setALL(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable all debug levels
setAPPLICATION(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable the APPLICATION debug level
setAppname(String) - Static method in class anbxj.AnBx_Debug
Set the application name
setBaseDelayMs(long) - Static method in class anbxj.Channel_Client
Set the initial (base) delay between retries in milliseconds.
setBUSINESS_LOGIC(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable the BUSINESS_LOGIC debug level
setCertificateType(String) - Method in class anbxj.Crypto_KeyStoreSettings
Sets the certificate type.
setChannel(Channel_Abstraction) - Method in class anbxj.AnB_Session
Sets the current channel.
setCheckAnyway(boolean) - Method in class anbxj.AnB_Protocol
Set the value of checkAnyway.
setCurrentSessionId(long) - Method in class anbxj.AnB_Crypto_Wrapper
Sets the current session ID for this wrapper.
setCurrentStep(int) - Method in class anbxj.AnB_Crypto_Wrapper
Sets the current protocol step number for this wrapper.
setDebug(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable individual debug level
setDefaultSerializer(Channel_MessageSerializer) - Static method in class anbxj.AnB_Session
Sets the global default message serializer that will be used by all subsequently created AnB_Session objects.
setENCRYPTION(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable the ENCRYPTION debug level
setEXCEPTION(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable the EXCEPTION debug level
setId_Remote(AnBx_Agent) - Method in class anbxj.AnB_Session
Sets the remote identity (AnBx_Agent).
setJitterFactor(double) - Static method in class anbxj.Channel_Client
Set the jitter factor (0.0 = no jitter, 1.0 = -/+100%).
setKeyStoreType(String) - Method in class anbxj.Crypto_KeyStoreSettings
Sets the key store type.
setLANGUAGE(boolean) - Static method in class anbxj.AnBx_Debug
set the LANGUAGE debug level
setLayer(AnBx_Layers) - Method in class anbxj.AnBx_CommandLine_Parser
Set the debug level
setLoggingExecTimeEnabled(boolean) - Static method in class anbxj.AnB_Crypto_Wrapper
Sets the logging state for performance measurements.
setMaxDelayMs(long) - Static method in class anbxj.Channel_Client
Set the maximum delay between retries in milliseconds.
setMaxRetries(int) - Static method in class anbxj.Channel_Client
Set the maximum number of connection attempts.
setNETWORK(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable the NETWORK debug level
setPROTOCOL(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable the PROTOCOL debug level
setProtocolFeatures(boolean, boolean, boolean, long, int, long, boolean, long) - Method in class anbxj.Crypto_Config
Configures the protocol usage parameters in one call.
setRootCA(String) - Method in class anbxj.Crypto_KeyStoreSettings
Sets the root CA path.
setSession(AnB_Session) - Method in interface anbxj.Channel_MessageSerializer
Injects the current AnB_Session into this serializer.
setSession(AnB_Session) - Method in class anbxj.Channel_ProtobufSerializer
 
setSESSION(boolean) - Static method in class anbxj.AnBx_Debug
Enable/disable the SESSION debug level
setSessions(long) - Method in class anbxj.Crypto_Config
Sets the number of sequential sessions to be executed.
setStep(int) - Method in class anbxj.Channel_Abstraction
Informs the channel about the current protocol step.
setStep(int) - Method in class anbxj.Channel_Protobuf
Informs the channel about the current protocol step.
setStep(int) - Method in class anbxj.Channel_ProtoServer
Sets the current protocol step on the underlying protobuf channel.
setStepDescriptors(Map<Integer, Channel_ProtobufSerializer.StepDescriptor>) - Static method in class anbxj.AnB_Session
Sets the step descriptors for this session (called during setup).
setTimeoutMs(int) - Static method in class anbxj.Channel_Client
Set the connection timeout in milliseconds.
setTSA_CertPath() - Method in class anbxj.Crypto_EncryptionEngine
Sets the TSA CertPath by retrieving it from the KeyStoreBuilder.
setTSA_CertPath(CertPath) - Method in class anbxj.Crypto_EncryptionEngine
Sets the TSA CertPath.
setup(Channel_Properties) - Static method in class anbxj.Channel
Sets up a channel based on the provided properties.
setUseKeyEx(boolean) - Method in class anbxj.Crypto_Config
Sets whether the protocol uses key exchange (e.g., Diffie-Hellman).
setUseKeyStore(boolean) - Method in class anbxj.Crypto_Config
Sets whether the protocol uses a key store (for asymmetric keys).
sharepath - Variable in class anbxj.AnB_Protocol
The path for sharing data in the protocol.
sharepath - Static variable in class anbxj.AnBx_CommandLine_Parser
Path to the shared resources, set via command line parameters.
sig - Enum constant in enum class anbxj.Crypto_KeyStoreType
KeyStore type signature
sign(Object) - Method in class anbxj.AnB_Crypto_Wrapper
Signs an object using the default private key of the current agent.
sign(Object, Crypto_KeyPair) - Method in class anbxj.AnB_Crypto_Wrapper
Signs an object using the private key contained in the specified key pair.
sign(Object, Crypto_KeyPair) - Method in class anbxj.Crypto_EncryptionEngine
Signs an object using the private key from the provided key pair.
sign(Object, Crypto_KeyStoreType) - Method in class anbxj.AnB_Crypto_Wrapper
Signs an object using a private key retrieved from the specified key store.
sign(Object, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Signs an object using the private key associated with the specified key store type.
signatureProvider - Variable in class anbxj.Crypto_Config
The provider for signature algorithm.
SIGNED_OBJECT - Enum constant in enum class anbxj.Crypto_OutputMode
Output Mode Signed Object
SignedMessage(byte[], byte[], String) - Constructor for class anbxj.AnBx_WireFormats.SignedMessage
Constructs a new SignedMessage wrapper.
size() - Method in class anbxj.AnBx_Params
Get the size of the array of objects
sk() - Static method in enum class anbxj.Crypto_KeyStoreType
Gets the key store type for secret keys.
SSL_AUTH - Enum constant in enum class anbxj.Channel_SSLChannelType
SSL channel with authentication.
SSL_NONE - Enum constant in enum class anbxj.Channel_SSLChannelType
No SSL channel.
SSL_PLAIN - Enum constant in enum class anbxj.Channel_SSLChannelType
Plain SSL channel.
SSL_SECRET - Enum constant in enum class anbxj.Channel_SSLChannelType
SSL channel with secret features.
SSL_SECURE - Enum constant in enum class anbxj.Channel_SSLChannelType
Secure SSL channel.
sslContext - Static variable in class anbxj.Crypto_Config_Default
SSL Context
sslContext - Variable in class anbxj.Crypto_Config
The SSL context.
sslContextProvider - Variable in class anbxj.Crypto_Config
The provider for ssl context.
start() - Method in class anbxj.Channel_MultiThreadedServer
Starts the server.
status(S) - Method in class anbxj.AnB_Protocol
Outputs the status of the protocol with a specific step.
status(S, Object) - Method in class anbxj.AnB_Protocol
Outputs the status of the protocol with a specific step and payload.
statusLabel(String) - Method in class anbxj.AnB_Protocol
Outputs the status label for a check with a given label.
stop() - Method in class anbxj.Channel_MultiThreadedServer
Signals the server to stop accepting new connections and to shut down gracefully after all currently running client handlers have finished.
String2ChannelType(String) - Static method in enum class anbxj.Channel_SSLChannelType
Returns the corresponding SSL channel type given a string The string should be a valid SSL channel type name

T

terminate(String) - Static method in class anbxj.AnBx_CommandLine_Parser
Terminates the protocol after an error occurs and prints a message
terminate(String, String[]) - Static method in class anbxj.AnBx_CommandLine_Parser
Terminates the protocol after an error occurs and prints a message along with the arguments passed.
testStr(String) - Static method in class anbxj.Crypto_Config
Checks if a string is not null and not empty.
tls - Enum constant in enum class anbxj.Crypto_KeyStoreType
KeyStore type TLS
toArray() - Method in class anbxj.AnBx_Params
Returns a copy of the internal array of parameters.
toByteArray() - Method in class anbxj.AnBx_WireFormats.SealedMessage
Serialises this sealed message to a deterministic byte format.
toByteArray() - Method in class anbxj.AnBx_WireFormats.SignedMessage
Serialises this signed message to a deterministic byte format.
toByteArray() - Method in class anbxj.Crypto_ByteArray
Returns a copy of the internal byte array.
toByteArray() - Method in class anbxj.Crypto_HmacPair
Serializes this Crypto_HmacPair into a byte array using standard Java object serialization, delegating to Crypto_SerializationUtils.serialize(Object).
toByteArray() - Method in class anbxj.Crypto_SealedObject
Produces a deterministic byte array that can be parsed by AnBx_WireFormats.SealedMessage.parseFrom(byte[]).
toByteArray() - Method in class anbxj.Crypto_SealedPair
Serializes this Crypto_SealedPair into a byte array using standard Java object serialization, delegating to Crypto_SerializationUtils.serialize(Object).
toByteArray() - Method in class anbxj.Crypto_SignedObject
Produces a deterministic byte array representation of this signed object.
toByteArray() - Method in class anbxj.Crypto_SignedPair
Serializes this Crypto_SignedPair into a byte array using standard Java object serialization, delegating to Crypto_SerializationUtils.serialize(Object).
toJavaObject(Message) - Method in class anbxj.Channel_ProtobufSerializer.OpaqueStepDescriptor
Extracts the payload from a Protobuf message and deserialises it back into a Java object.
toJavaObject(Message) - Method in interface anbxj.Channel_ProtobufSerializer.StepDescriptor
Reconstructs the Java object that the role code expects from the parsed Protobuf message.
toProtobuf(byte[]) - Method in class anbxj.Channel_ProtobufOpaqueWrapper
Wraps a serialized Java object (as a byte array) into a protobuf message of the configured type.
toProtobuf(Object) - Method in class anbxj.Channel_ProtobufSerializer.OpaqueStepDescriptor
Converts a Java object into a Protobuf message of the configured type by serialising the object into a byte array and setting it as the message's payload field.
toProtobuf(Object) - Method in interface anbxj.Channel_ProtobufSerializer.StepDescriptor
Converts a Java object (as produced by the role code) into a Protobuf message of the step-specific type.
toProtobufField(Object) - Static method in class anbxj.AnBx_WireFormats
Converts a Java object to a Protobuf ByteString suitable for use as a field value in a typed-Protobuf payload.
toProtobufSealed(Crypto_SealedObject) - Static method in class anbxj.AnB_Crypto_Wrapper
Converts a Crypto_SealedObject to its Protobuf AnBx_WireFormats.SealedMessage representation.
toProtobufSealed(Crypto_SealedObject) - Static method in class anbxj.Crypto_SealedObject
Converts a Crypto_SealedObject to its Protobuf AnBx_WireFormats.SealedMessage representation.
toProtobufSigned(Crypto_SignedObject) - Static method in class anbxj.AnB_Crypto_Wrapper
Converts a Crypto_SignedObject to its Protobuf AnBx_WireFormats.SignedMessage representation.
toProtobufSigned(Crypto_SignedObject) - Static method in class anbxj.Crypto_SignedObject
Converts a Crypto_SignedObject to its Protobuf AnBx_WireFormats.SignedMessage representation.
toSealedMessage() - Method in class anbxj.Crypto_SealedObject
Converts this container into a Protobuf-compatible AnBx_WireFormats.SealedMessage.
toSealedPair() - Method in class anbxj.Crypto_SealedObject
Reconstructs an old-style Crypto_SealedPair from the raw fields stored in this object.
toSignedMessage() - Method in class anbxj.Crypto_SignedObject
Converts this container to a Protobuf-compatible AnBx_WireFormats.SignedMessage.
toSignedObject() - Method in class anbxj.Crypto_SignedObject
Reconstructs a SignedObject from this container.
toString() - Method in class anbxj.AnBx_Agent
 
toString() - Method in class anbxj.AnBx_Params
 
toString() - Method in class anbxj.Channel_Settings
Generates a string representation of the channel settings.
toString() - Method in class anbxj.Crypto_ByteArray
 
toString() - Method in class anbxj.Crypto_HmacPair
Returns a string representation of the Crypto_HmacPair.
toString() - Method in class anbxj.Crypto_SealedObject
 
toString() - Method in class anbxj.Crypto_SealedPair
 
toString() - Method in class anbxj.Crypto_SignedObject
 
toString() - Method in class anbxj.Crypto_SignedPair
 

U

unsealMessage(AnBx_WireFormats.SealedMessage) - Method in class anbxj.AnB_Crypto_Wrapper
Unseals (decrypts) a AnBx_WireFormats.SealedMessage using the local private key.
unsealRaw(AnBx_WireFormats.SealedMessage) - Method in class anbxj.Crypto_EncryptionEngine
Unseals (decrypts) a AnBx_WireFormats.SealedMessage using the local private key (from the encryption keystore Crypto_KeyStoreType.pk()).
usage() - Static method in class anbxj.AnBx_CommandLine_Parser
Computes the usage string for the given protocol
useKeyEx - Variable in class anbxj.Crypto_Config
The protocol uses key exchange
useKeyStore - Variable in class anbxj.Crypto_Config
The protocol uses key a key store
useWarmUp - Variable in class anbxj.Crypto_Config
WarmUp crypto engine flag

V

validateNonce(byte[], long) - Method in class anbxj.Crypto_TimeStampValidator
Throw an exception if the nonce has been validated previously.
valueOf(String) - Static method in enum class anbxj.AnB_ChannelType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class anbxj.AnBx_ChannelType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class anbxj.AnBx_Layers
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class anbxj.Channel_Roles
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class anbxj.Channel_SSLChannelType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class anbxj.Crypto_KeyMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class anbxj.Crypto_KeyStoreType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class anbxj.Crypto_OutputMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class anbxj.AnB_ChannelType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class anbxj.AnBx_ChannelType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class anbxj.AnBx_Layers
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class anbxj.Channel_Roles
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class anbxj.Channel_SSLChannelType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class anbxj.Crypto_KeyMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class anbxj.Crypto_KeyStoreType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class anbxj.Crypto_OutputMode
Returns an array containing the constants of this enum class, in the order they are declared.
verify(Crypto_SignedObject, String) - Method in class anbxj.AnB_Crypto_Wrapper
Verifies a Crypto_SignedObject using the public key of the agent identified by the given alias.
verify(Crypto_SignedObject, PublicKey) - Method in class anbxj.AnB_Crypto_Wrapper
Verifies a Crypto_SignedObject using a specific public key.
verify(SignedObject, String) - Method in class anbxj.AnB_Crypto_Wrapper
Verifies a SignedObject with a private key retrieved from the default key store associated to an agent identified by an alias
verify(SignedObject, String, Crypto_KeyStoreType) - Method in class anbxj.AnB_Crypto_Wrapper
Verifies a SignedObject with a private key retrieved from a specified key store associated to an agent identified by an alias
verify(SignedObject, String, Crypto_KeyStoreType) - Method in class anbxj.Crypto_EncryptionEngine
Verifies a SignedObject using the public key associated with the specified alias and key store type.
verify(SignedObject, PublicKey) - Method in class anbxj.AnB_Crypto_Wrapper
Verifies a SignedObject with a specified public key
verify(SignedObject, PublicKey) - Method in class anbxj.Crypto_EncryptionEngine
Verifies a SignedObject using the provided public key.
verifyMessage(AnBx_WireFormats.SignedMessage, String) - Method in class anbxj.AnB_Crypto_Wrapper
Verifies a AnBx_WireFormats.SignedMessage using the public key of the given alias (retrieved from the keystore).
verifyMessage(AnBx_WireFormats.SignedMessage, PublicKey) - Method in class anbxj.AnB_Crypto_Wrapper
Verifies a AnBx_WireFormats.SignedMessage using the provided public key.
verifyRaw(byte[], byte[], String) - Method in class anbxj.Crypto_EncryptionEngine
Verifies a raw signature against the given data using the public key associated with the specified alias (from the signature keystore).
verifyRaw(byte[], byte[], PublicKey) - Method in class anbxj.Crypto_EncryptionEngine
Verifies a raw signature against the given data using the provided public key.
vflag - Static variable in class anbxj.AnBx_CommandLine_Parser
Verbose flag, set via command line parameters.

W

wffCheck(Object) - Method in class anbxj.AnB_Protocol
Checks if the given object is a well-formed formula (WFF) without a specific label.
wffCheck(Object, Class<?>) - Method in class anbxj.AnB_Protocol
Checks if the given object is a well-formed formula (WFF) with a specified class type.
wffCheck(String, Object) - Method in class anbxj.AnB_Protocol
Checks if the given object is a well-formed formula (WFF) with a specified label.
wffCheck(String, Object, Class<?>) - Method in class anbxj.AnB_Protocol
Checks if the given object is a well-formed formula (WFF) with a specified label and class type.
wrapSocket(Socket, Channel_Properties, boolean) - Static method in class anbxj.Channel_SSLChannelUtils
Wraps an existing plain TCP socket in a TLS/SSL connection, performing the full handshake.
writeObject(Object, String) - Static method in class anbxj.AnB_Crypto_Wrapper
Writes a serialised object to the file system
writeObject(Object, String) - Static method in class anbxj.Crypto_EncryptionEngine
Writes an object to a file.

X

xor(Crypto_ByteArray, Crypto_ByteArray) - Method in class anbxj.AnB_Crypto_Wrapper
Computes the xor of two Crypto_ByteArrays
xor(Crypto_ByteArray, Crypto_ByteArray) - Method in class anbxj.Crypto_EncryptionEngine
Performs bitwise XOR on two Crypto_ByteArrays and returns the result.

Z

zero - Variable in class anbxj.AnB_Protocol
A byte array of zeros used in the protocol.
A B C D E F G H I K L M N O P R S T U V W X Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form