java.lang.Object
org.axonframework.axonserver.connector.event.util.EventCipher

@Deprecated public class EventCipher extends Object
Deprecated.
in through use of the AxonServer java connector
Cipher implementations used to encrypt events.
Since:
4.0
Author:
Marc Gathier
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Constructs a default EventCipher.
    EventCipher(byte[] secretKey)
    Deprecated.
    Constructs a EventCipher using the given secretKey.
    EventCipher(Function<io.axoniq.axonserver.grpc.event.Event,Integer> keySelector, List<byte[]> secretKeys)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.axoniq.axonserver.grpc.event.Event
    decrypt(io.axoniq.axonserver.grpc.event.Event cryptoEvent)
    Deprecated.
     
    io.axoniq.axonserver.grpc.event.EventWithToken
    decrypt(io.axoniq.axonserver.grpc.event.EventWithToken cryptoEventWithToken)
    Deprecated.
     
    protected byte[]
    decryptBytes(int keyIndex, byte[] cryptoBytes)
    Deprecated.
     
    io.axoniq.axonserver.grpc.event.Event
    encrypt(io.axoniq.axonserver.grpc.event.Event clearEvent)
    Deprecated.
     
    protected byte[]
    encryptBytes(int keyIndex, byte[] clearBytes)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EventCipher

      public EventCipher()
      Deprecated.
      Constructs a default EventCipher.
    • EventCipher

      public EventCipher(byte[] secretKey)
      Deprecated.
      Constructs a EventCipher using the given secretKey.
      Parameters:
      secretKey - the key to base the EventCipher on
    • EventCipher

      public EventCipher(Function<io.axoniq.axonserver.grpc.event.Event,Integer> keySelector, List<byte[]> secretKeys)
      Deprecated.
  • Method Details

    • decrypt

      public io.axoniq.axonserver.grpc.event.EventWithToken decrypt(io.axoniq.axonserver.grpc.event.EventWithToken cryptoEventWithToken)
      Deprecated.
    • encrypt

      public io.axoniq.axonserver.grpc.event.Event encrypt(io.axoniq.axonserver.grpc.event.Event clearEvent)
      Deprecated.
    • decrypt

      public io.axoniq.axonserver.grpc.event.Event decrypt(io.axoniq.axonserver.grpc.event.Event cryptoEvent)
      Deprecated.
    • encryptBytes

      protected byte[] encryptBytes(int keyIndex, byte[] clearBytes)
      Deprecated.
    • decryptBytes

      protected byte[] decryptBytes(int keyIndex, byte[] cryptoBytes)
      Deprecated.