Package com.google.crypto.tink.aead
Class LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
- java.lang.Object
-
- com.google.crypto.tink.aead.LegacyKmsEnvelopeAeadParameters.DekParsingStrategy
-
- Enclosing class:
- LegacyKmsEnvelopeAeadParameters
@Immutable public static final class LegacyKmsEnvelopeAeadParameters.DekParsingStrategy extends java.lang.ObjectSpecifies how the DEK in received ciphertexts are parsed.See section "Ciphertext format" above for a discussion of this.
-
-
Field Summary
Fields Modifier and Type Field Description static LegacyKmsEnvelopeAeadParameters.DekParsingStrategyASSUME_AES_CTR_HMACWhen parsing, assume that the ciphertext was encrypted with AES CTR HMAC.static LegacyKmsEnvelopeAeadParameters.DekParsingStrategyASSUME_AES_EAXWhen parsing, assume that the ciphertext was encrypted with AES EAX.static LegacyKmsEnvelopeAeadParameters.DekParsingStrategyASSUME_AES_GCMWhen parsing, assume that the ciphertext was encrypted with AES GCM.static LegacyKmsEnvelopeAeadParameters.DekParsingStrategyASSUME_AES_GCM_SIVWhen parsing, assume that the ciphertext was encrypted with AES GCM SIV.static LegacyKmsEnvelopeAeadParameters.DekParsingStrategyASSUME_CHACHA20POLY1305When parsing, assume that the ciphertext was encrypted with ChaCha20-Poly1305.static LegacyKmsEnvelopeAeadParameters.DekParsingStrategyASSUME_XCHACHA20POLY1305When parsing, assume that the ciphertext was encrypted with XChaCha20-Poly1305.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
ASSUME_AES_GCM
public static final LegacyKmsEnvelopeAeadParameters.DekParsingStrategy ASSUME_AES_GCM
When parsing, assume that the ciphertext was encrypted with AES GCM.
-
ASSUME_XCHACHA20POLY1305
public static final LegacyKmsEnvelopeAeadParameters.DekParsingStrategy ASSUME_XCHACHA20POLY1305
When parsing, assume that the ciphertext was encrypted with XChaCha20-Poly1305.
-
ASSUME_CHACHA20POLY1305
public static final LegacyKmsEnvelopeAeadParameters.DekParsingStrategy ASSUME_CHACHA20POLY1305
When parsing, assume that the ciphertext was encrypted with ChaCha20-Poly1305.
-
ASSUME_AES_CTR_HMAC
public static final LegacyKmsEnvelopeAeadParameters.DekParsingStrategy ASSUME_AES_CTR_HMAC
When parsing, assume that the ciphertext was encrypted with AES CTR HMAC.
-
ASSUME_AES_EAX
public static final LegacyKmsEnvelopeAeadParameters.DekParsingStrategy ASSUME_AES_EAX
When parsing, assume that the ciphertext was encrypted with AES EAX.
-
ASSUME_AES_GCM_SIV
public static final LegacyKmsEnvelopeAeadParameters.DekParsingStrategy ASSUME_AES_GCM_SIV
When parsing, assume that the ciphertext was encrypted with AES GCM SIV.
-
-