@Deprecated public class EventCipher extends Object
Constructor and Description |
---|
EventCipher()
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.
|
Modifier and Type | Method and 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.
|
public EventCipher()
EventCipher
.public EventCipher(byte[] secretKey)
EventCipher
using the given secretKey
.secretKey
- the key to base the EventCipher
onpublic io.axoniq.axonserver.grpc.event.EventWithToken decrypt(io.axoniq.axonserver.grpc.event.EventWithToken cryptoEventWithToken)
public io.axoniq.axonserver.grpc.event.Event encrypt(io.axoniq.axonserver.grpc.event.Event clearEvent)
public io.axoniq.axonserver.grpc.event.Event decrypt(io.axoniq.axonserver.grpc.event.Event cryptoEvent)
protected byte[] encryptBytes(int keyIndex, byte[] clearBytes)
protected byte[] decryptBytes(int keyIndex, byte[] cryptoBytes)
Copyright © 2010–2023. All rights reserved.