public interface GdprEncryption
extends akka.actor.Extension
AbstractGdprEncryption.
Implementations must be thread-safe.
| Modifier and Type | Method and Description |
|---|---|
scala.concurrent.Future<scala.Option<byte[]>> |
decrypt(byte[] payload,
java.lang.String dataSubjectId)
Decrypt the given payload with the key identified by dataSubjectId.
|
scala.concurrent.Future<byte[]> |
encrypt(byte[] payload,
java.lang.String dataSubjectId)
Encrypt the given payload with the key identified by dataSubjectId.
|
scala.concurrent.Future<akka.Done> |
shred(java.lang.String dataSubjectId)
Remove the key identified by dataSubjectId from [KeyManagement].
|
scala.concurrent.Future<byte[]> encrypt(byte[] payload,
java.lang.String dataSubjectId)
payload - (undocumented)dataSubjectId - (undocumented)scala.concurrent.Future<scala.Option<byte[]>> decrypt(byte[] payload,
java.lang.String dataSubjectId)
payload - (undocumented)dataSubjectId - (undocumented)scala.concurrent.Future<akka.Done> shred(java.lang.String dataSubjectId)
dataSubjectId - (undocumented)