@FunctionalInterface public static interface CipherCodec.CipherSupplier
Modifier and Type | Method and Description |
---|---|
default CipherCodec.KeyDescriptor |
encryptionKey()
Returns the latest
CipherCodec.KeyDescriptor to use for encryption. |
Cipher |
get(CipherCodec.KeyDescriptor keyDescriptor)
Creates a new
Cipher . |
Cipher get(CipherCodec.KeyDescriptor keyDescriptor) throws GeneralSecurityException
Cipher
.keyDescriptor
- the key to use for the returned Cipher
.Cipher
.GeneralSecurityException
default CipherCodec.KeyDescriptor encryptionKey()
CipherCodec.KeyDescriptor
to use for encryption.CipherCodec.KeyDescriptor
to use for encryption.Copyright © 2023 lettuce.io. All rights reserved.