Package | Description |
---|---|
io.lettuce.core.codec |
Codecs for key/value type conversion.
|
Modifier and Type | Method and Description |
---|---|
static CipherCodec.KeyDescriptor |
CipherCodec.KeyDescriptor.create(String name)
Create a named
CipherCodec.KeyDescriptor without version. |
static CipherCodec.KeyDescriptor |
CipherCodec.KeyDescriptor.create(String name,
int version)
Create a named and versioned
CipherCodec.KeyDescriptor . |
static CipherCodec.KeyDescriptor |
CipherCodec.KeyDescriptor.create(String name,
int version,
Charset charset)
Create a named and versioned
CipherCodec.KeyDescriptor using Charset to encode name to its binary
representation. |
default CipherCodec.KeyDescriptor |
CipherCodec.CipherSupplier.encryptionKey()
Returns the latest
CipherCodec.KeyDescriptor to use for encryption. |
static CipherCodec.KeyDescriptor |
CipherCodec.KeyDescriptor.unnamed()
Returns the default
CipherCodec.KeyDescriptor that has no specified name. |
Modifier and Type | Method and Description |
---|---|
Cipher |
CipherCodec.CipherSupplier.get(CipherCodec.KeyDescriptor keyDescriptor)
Creates a new
Cipher . |
Copyright © 2023 lettuce.io. All rights reserved.