Package anbxj
package anbxj
An experimental cryptographic library used as run time support for the AnBx Compiler and Code Generator
-
ClassDescriptionAnB channel type enumeratorFailed checks exceptionCryptographic API: implements a class supporting cryptographic operations (a wrapper for the cryptographic engine)AnB Principal: A concrete principal for AnB/AnBx protocols.AnB Protocol: an abstract class for defining AnB protocolsAnB Session: implements a protocol session supporting cryptographic operations.AnBx AgentAnBx Channel Mode: A class to store AnBx channel modes.An enumerator for AnBx channel types.An abstract class for parsing command line arguments.AnBx Debug/Logging utilityAnBx Debug/Logging layers.Thrown when a fatal library error occurs that cannot be recovered from.AnBx Params: implements a tuple as an array of serializable objectsContainer for wire-format wrapper classes used in typed Protobuf mode.A language-agnostic representation of a sealed (encrypted) message.A language-agnostic representation of a digitally signed message.An abstract class for ChannelChannel Abstraction: a class abstracting TCP/IP channelClient-side communication channel.A channel implementation that wraps an already connected
Socket.AChannel_MessageSerializerthat delegates to standard Java object serialisation via the utility methods inCrypto_SerializationUtils.A protocol-specific serializer that converts logical protocol-level objects to/from byte arrays.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 Properties: Represents the properties of a communication channel.A length-delimited communication channel that uses aChannel_MessageSerializerto translate between protocol-level objects and raw bytes, and Google's ProtobufCodedOutputStream/CodedInputStreamfor compact varint-prefixed framing.Helper class for handling protobuf messages that contain an opaque payload field of typebytes.AChannel_MessageSerializerthat uses step-specific descriptors to convert Java objects (e.g.,AnBx_WireFormats.SignedMessage,AnBx_WireFormats.SealedMessage) into typed Protobuf messages and back.AChannel_ProtobufSerializer.StepDescriptorimplementation that wraps a Protobuf message containing an opaquebytespayload.Descriptor that handles a single protocol step.Extension ofChannel_ProtobufSerializer.StepDescriptorfor steps that carry a user-defined payload consisting of multiple fields.A single-connection server that uses aChannel_MessageSerializerand aChannel_Protobufwrapper for length-delimited communication.Channel RolesServer ChannelRepresents settings for a communication channel.Enumeration representing different types of SSL channels.Utility methods for SSL/TLS channel setup, eliminating duplication across client, server, proto-server and multi-threaded server implementations.A class used to build an SSLContext for creating SocketFactory.Byte Array: a custom implementation of a byte array, used to store the result of various cryptographic functionsAn abstract class for encryption configuration.Default values for cryptographic engine configuration.Cryptographic engineA class to store the result of an HMAC operation along with metadata about the used algorithm.Key mode for key generation.Represents a public/private key pair.Keystore builderKeystore builder mapping key stores and their type/purposeKeystore SettingsA class mapping key stores and their type/purpose.Enumerates key stores for different key purposes in the cryptographic API.Defines output mode of various cryptographic operationsThis class allows printing information about supported cryptographic providers and algorithms for the installed JRE/JDK.Universal sealed (encrypted) container that replacesCrypto_SealedPairin generated code.Represents a sealed pair of objects (key, message) used for encryption.Utility methods for serializing/deserializing objects using standard Java serialization.A serializer-neutral signed container.Represents a signed pair of objects (SignedObject, Object) used for digital signatures.Failed time stamp exceptionA class for time stamp validation