Serialized Form

  • Package anbxj

    • Exception Class anbxj.AnB_CheckFailedException

      class AnB_CheckFailedException extends Exception implements Serializable
      serialVersionUID:
      1L
    • Class anbxj.AnBx_Agent

      class AnBx_Agent extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • alias
          String alias
          The principal's alias (identifier) used in protocol exchanges.
        • cert
          Map<Crypto_KeyStoreType,Certificate> cert
          Mapping from keystore types to their associated certificates. May be null when no certificates are known (e.g., for anonymous agents).
    • Class anbxj.AnBx_CustomType

      class AnBx_CustomType extends Object implements Serializable
      serialVersionUID:
      1L
    • Exception Class anbxj.AnBx_LibraryException

      class AnBx_LibraryException extends RuntimeException implements Serializable
      serialVersionUID:
      1L
    • Class anbxj.AnBx_Params

      class AnBx_Params extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • v
          Object[] v
          Array of objects containing AnBx parameters.
    • Class anbxj.AnBx_WireFormats.SealedMessage

      class SealedMessage extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • cipherScheme
          String cipherScheme
          The cipher scheme string (e.g. "AES/GCM/NoPadding").
        • encryptedKey
          byte[] encryptedKey
          The encrypted symmetric key bytes (may be null if no key transport).
        • sealedPayload
          byte[] sealedPayload
          The encrypted message payload bytes (never null).
    • Class anbxj.AnBx_WireFormats.SignedMessage

      class SignedMessage extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • algorithm
          String algorithm
          The signature algorithm name (e.g. "SHA256withRSA").
        • content
          byte[] content
          The raw signed content bytes (never null).
        • signature
          byte[] signature
          The raw signature bytes (never null).
    • Class anbxj.Channel_Settings

      class Channel_Settings extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • AuthenticatedChannel
          boolean AuthenticatedChannel
          Flag indicating whether the channel requires authentication.
        • cr
          Channel_Roles cr
          Roles of the channel.
        • ct
          Channel_SSLChannelType ct
          Type of SSL channel.
        • ctx
          String ctx
          Type of SSL context.
        • host
          String host
          Hostname or IP address of the channel.
        • port
          int port
          Port number for the channel.
        • SecretChannel
          boolean SecretChannel
          Flag indicating whether the channel requires secrecy.
    • Class anbxj.Crypto_ByteArray

      class Crypto_ByteArray extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • bytearray
          byte[] bytearray
          The byte array
    • Class anbxj.Crypto_KeyStoreSettings

      class Crypto_KeyStoreSettings extends Object implements Serializable
      serialVersionUID:
      1L
      • Serialized Fields

        • certificateType
          String certificateType
          Default certificate type.
        • keyStoreType
          String keyStoreType
          Type of the KeyStore.
        • localKeyStore
          String localKeyStore
          Path to the local KeyStore containing private keys.
        • myAlias
          String myAlias
          Alias for the KeyStore.
        • passphraseLocalKeyStore
          String passphraseLocalKeyStore
          Passphrase for local KeyStore.
        • passphrasePrivateKeyLocalKeyStore
          String passphrasePrivateKeyLocalKeyStore
          Passphrase for the private key in local KeyStore.
        • passphraseRemoteKeyStore
          String passphraseRemoteKeyStore
          Passphrase for remote KeyStore.
        • remoteKeyStore
          String remoteKeyStore
          Path to the remote KeyStore containing public keys.
        • rootCA
          String rootCA
          Root Certificate Authority.
    • Class anbxj.Crypto_SealedObject

      class Crypto_SealedObject extends Object implements Serializable
      serialVersionUID:
      20260607001L
      • Serialized Fields

        • cipherScheme
          String cipherScheme
          The cipher scheme used for encryption (e.g. "AES/GCM/NoPadding").
        • encryptedKey
          byte[] encryptedKey
          The encrypted symmetric key (hybrid encryption), or null for pure symmetric encryption.
        • encryptedMessage
          byte[] encryptedMessage
          The encrypted message payload (never null).
    • Class anbxj.Crypto_SignedObject

      class Crypto_SignedObject extends Object implements Serializable
      serialVersionUID:
      20260608001L
      • Serialization Methods

        • readObject
          private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
          Reads the state of this object from the specified object input stream.

          This method implements custom deserialisation for Java Object Serialisation. It reads the fields in the exact same order as they are written by Crypto_SignedObject.writeObject(ObjectOutputStream) to guarantee deterministic and compatible reconstruction of the object.

          The fields are read in this order:

          1. content (a byte[])
          2. signature (a byte[])
          3. algorithm (a String)
          Parameters:
          in - the object input stream from which the object is read
          Throws:
          IOException - if an I/O error occurs while reading from the stream
          ClassNotFoundException - if the class of a serialised object cannot be found
        • writeObject
          private void writeObject(ObjectOutputStream out) throws IOException
          Writes the state of this object to the specified object output stream.

          This method implements custom serialisation for Java Object Serialisation. It writes the fields in a fixed order (content, signature, algorithm) so that they can be reliably read back by Crypto_SignedObject.readObject(ObjectInputStream). The order is deterministic and must not be changed without updating the corresponding read method.

          The fields are written in this order:

          1. content (a byte[])
          2. signature (a byte[])
          3. algorithm (a String)
          Parameters:
          out - the object output stream to which the object is written
          Throws:
          IOException - if an I/O error occurs while writing to the stream
      • Serialized Fields

        • algorithm
          String algorithm
          The signature algorithm name, e.g. "SHA256withRSA" (always populated).
        • content
          byte[] content
          The serialised content of the signed object (always populated).
        • signature
          byte[] signature
          The raw signature bytes (always populated).
    • Exception Class anbxj.Crypto_TimeStampException

      class Crypto_TimeStampException extends Exception implements Serializable
      serialVersionUID:
      1L