public final class AesEaxKeyManager extends Object
AesEaxKey keys and produces new instances of AesEaxJce.| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate |
aes128EaxTemplate() |
static KeyTemplate |
aes256EaxTemplate() |
static KeyTemplate |
rawAes128EaxTemplate() |
static KeyTemplate |
rawAes256EaxTemplate() |
static void |
register(boolean newKeyAllowed) |
public static void register(boolean newKeyAllowed)
throws GeneralSecurityException
GeneralSecurityExceptionpublic static final KeyTemplate aes128EaxTemplate()
KeyTemplate that generates new instances of AES-EAX with the following
parameters:
KeyTemplate.OutputPrefixType#TINK
public static final KeyTemplate rawAes128EaxTemplate()
KeyTemplate that generates new instances of AES-EAX with the following
parameters:
KeyTemplate.OutputPrefixType#RAW (no prefix)
public static final KeyTemplate aes256EaxTemplate()
KeyTemplate that generates new instances of AES-EAX with the following
parameters:
KeyTemplate.OutputPrefixType#TINK
public static final KeyTemplate rawAes256EaxTemplate()
KeyTemplate that generates new instances of AES-EAX with the following
parameters:
KeyTemplate.OutputPrefixType#RAW (no prefix)