public enum CryptoRangeGetMode extends Enum<CryptoRangeGetMode>
AmazonS3EncryptionV2
when a request is
made for only part of an object.
Range gets do not provide authenticated encryption properties even when used with an authenticated mode (AES-GCM). See https://docs.aws.amazon.com/general/latest/gr/aws_sdk_cryptography.html
Enum Constant and Description |
---|
ALL
Deprecated.
|
DISABLED
All range gets are disabled regardless the content encryption algorithm or configured
CryptoMode . |
Modifier and Type | Method and Description |
---|---|
boolean |
permitsCipherAlgorithm(CryptoMode cryptoMode,
String algorithm) |
static CryptoRangeGetMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoRangeGetMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoRangeGetMode DISABLED
CryptoMode
.@Deprecated public static final CryptoRangeGetMode ALL
CryptoMode
.
When the configured for CryptoMode.AuthenticatedEncryption
, the client permits both AES-CBC and AES-CTR.
When configured for CryptoMode.StrictAuthenticatedEncryption
, the client permits only AES-CTR.
public static CryptoRangeGetMode[] values()
for (CryptoRangeGetMode c : CryptoRangeGetMode.values()) System.out.println(c);
public static CryptoRangeGetMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean permitsCipherAlgorithm(CryptoMode cryptoMode, String algorithm)
Copyright © 2022. All rights reserved.