Package com.google.crypto.tink.aead
Class AesGcmParameters.Variant
- java.lang.Object
-
- com.google.crypto.tink.aead.AesGcmParameters.Variant
-
- Enclosing class:
- AesGcmParameters
@Immutable public static final class AesGcmParameters.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 AesGcmParameters.VariantCRUNCHYstatic AesGcmParameters.VariantNO_PREFIXstatic AesGcmParameters.VariantTINK
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
TINK
public static final AesGcmParameters.Variant TINK
-
CRUNCHY
public static final AesGcmParameters.Variant CRUNCHY
-
NO_PREFIX
public static final AesGcmParameters.Variant NO_PREFIX
-
-