Package com.google.crypto.tink.hybrid
Class HpkeParameters.Variant
- java.lang.Object
-
- com.google.crypto.tink.hybrid.HpkeParameters.Variant
-
- Enclosing class:
- HpkeParameters
@Immutable public static final class HpkeParameters.Variant extends java.lang.ObjectDescription of the output prefix prepended to the ciphertext.
-
-
Field Summary
Fields Modifier and Type Field Description static HpkeParameters.VariantCRUNCHYCRUNCHY: Leading 0x00-byte followed by 4-byte key id (big endian format).static HpkeParameters.VariantNO_PREFIXNO_PREFIX: Empty prefix.static HpkeParameters.VariantTINKTINK: Leading 0x01-byte followed by 4-byte key id (big endian format).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
TINK
public static final HpkeParameters.Variant TINK
TINK: Leading 0x01-byte followed by 4-byte key id (big endian format).
-
CRUNCHY
public static final HpkeParameters.Variant CRUNCHY
CRUNCHY: Leading 0x00-byte followed by 4-byte key id (big endian format).
-
NO_PREFIX
public static final HpkeParameters.Variant NO_PREFIX
NO_PREFIX: Empty prefix.
-
-