Interface IClientTransactionProcessor

All Superinterfaces:
ITransactionProcessor
All Known Implementing Classes:
ClientTransactionProcessor

public interface IClientTransactionProcessor extends ITransactionProcessor
The client transaction processor extends the normal transaction processor with support for user authentication.
Author:
Christopher Mindus
  • Method Details

    • appendPublicKey

      void appendPublicKey(SendTransaction trans)
      Appends the server public key for the Diffie-Hellman key exchange with the client.
      Parameters:
      trans - The transaction.
    • updateAuthentication

      void updateAuthentication(ReadTransaction trans) throws Exception
      Updates the current user with a password that is encrypted in AES/CBC 256-bit.
      Parameters:
      trans - The transaction
      Throws:
      Exception - If there is any kind of problem with the authentication, transaction, encryption or alike.