Package com.google.crypto.tink.daead
Class AesSivKeyManager
- java.lang.Object
-
- com.google.crypto.tink.daead.AesSivKeyManager
-
public final class AesSivKeyManager extends java.lang.ObjectThis key manager generates newAesSivKeykeys and produces new instances ofAesSiv.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyTemplateaes256SivTemplate()static KeyTemplaterawAes256SivTemplate()static voidregister(boolean newKeyAllowed)
-
-
-
Method Detail
-
register
public static void register(boolean newKeyAllowed) throws java.security.GeneralSecurityException- Throws:
java.security.GeneralSecurityException
-
aes256SivTemplate
public static final KeyTemplate aes256SivTemplate()
- Returns:
- a
KeyTemplatethat generates new instances of AES-SIV-CMAC keys.
-
rawAes256SivTemplate
public static final KeyTemplate rawAes256SivTemplate()
- Returns:
- A
KeyTemplatethat generates new instances of AES-SIV-CMAC keys. Keys generated from this template create ciphertexts compatible with other libraries.
-
-