Package com.google.crypto.tink.aead
Class AesGcmSivParameters.Variant
- java.lang.Object
-
- com.google.crypto.tink.aead.AesGcmSivParameters.Variant
-
- Enclosing class:
- AesGcmSivParameters
@Immutable public static final class AesGcmSivParameters.Variant extends java.lang.ObjectDescribes how the prefix is computed. For AEAD there are three main possibilities: NO_PREFIX (empty prefix), TINK (prefix the ciphertext with 0x01 followed by a 4-byte key id in big endian format) or CRUNCHY (prefix the ciphertext with 0x00 followed by a 4-byte key id in big endian format)
-
-
Field Summary
Fields Modifier and Type Field Description static AesGcmSivParameters.VariantCRUNCHYstatic AesGcmSivParameters.VariantNO_PREFIXstatic AesGcmSivParameters.VariantTINK
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
TINK
public static final AesGcmSivParameters.Variant TINK
-
CRUNCHY
public static final AesGcmSivParameters.Variant CRUNCHY
-
NO_PREFIX
public static final AesGcmSivParameters.Variant NO_PREFIX
-
-