KeyTemplates.get(java.lang.String), e.g.,
KeyTemplates.get("AES256_SIV")@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 KeyTemplate |
AES256_SIV
Deprecated.
A
KeyTemplate that generates new instances of AesSivKey with a 64-byte key. |
| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate |
createAesSivKeyTemplate(int keySize)
Deprecated.
|
public static final KeyTemplate AES256_SIV
KeyTemplate that generates new instances of AesSivKey with a 64-byte key.public static KeyTemplate createAesSivKeyTemplate(int keySize)
KeyTemplate containing a AesSivKeyFormat with some specified
parameters.