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