@Deprecated public final class DeterministicAeadKeyTemplates extends Object
KeyTemplate for DeterministicAead keys. One can use these templates
to generate new Keyset with KeysetHandle. To generate a new keyset that contains
a single AesSivKey, one can do:
Config.register(DeterministicAeadConfig.TINK_1_1_0); KeysetHandle handle = KeysetHandle.generateNew(DeterministicAeadKeyTemplates.AES256_SIV); DeterministicAead daead = handle.getPrimitive(DeterministicAead.class);
| Modifier and Type | Field and Description |
|---|---|
static com.google.crypto.tink.proto.KeyTemplate |
AES256_SIV
Deprecated.
A
KeyTemplate that generates new instances of AesSivKey with a 64-byte key. |
| Constructor and Description |
|---|
DeterministicAeadKeyTemplates()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.crypto.tink.proto.KeyTemplate |
createAesSivKeyTemplate(int keySize)
Deprecated.
|