Class KmsDiscoveryKeyring
- java.lang.Object
-
- software.amazon.encryption.s3.materials.S3Keyring
-
- software.amazon.encryption.s3.materials.KmsDiscoveryKeyring
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KmsDiscoveryKeyring.Builder
-
Field Summary
-
Fields inherited from class software.amazon.encryption.s3.materials.S3Keyring
_dataKeyGenerator, KEY_PROVIDER_ID
-
-
Constructor Summary
Constructors Constructor Description KmsDiscoveryKeyring(KmsDiscoveryKeyring.Builder builder)
This keyring will decrypt the object without specifying the KMS key in its configuration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KmsDiscoveryKeyring.Builder
builder()
protected Map<String,DecryptDataKeyStrategy>
decryptDataKeyStrategies()
protected EncryptDataKeyStrategy
encryptDataKeyStrategy()
protected GenerateDataKeyStrategy
generateDataKeyStrategy()
-
Methods inherited from class software.amazon.encryption.s3.materials.S3Keyring
defaultGenerateDataKey, onDecrypt, onEncrypt, warnIfEncryptionContextIsPresent
-
-
-
-
Constructor Detail
-
KmsDiscoveryKeyring
public KmsDiscoveryKeyring(KmsDiscoveryKeyring.Builder builder)
This keyring will decrypt the object without specifying the KMS key in its configuration. This is similar to the Encryption SDK's Discovery Keyring. NOTE: There is no Discovery Filter, as kms+context mode used in v2/v3 does not persist the KMS key ID to the object metadata, so it is not possible to safely filter on this attribute.- Parameters:
builder
-
-
-
Method Detail
-
builder
public static KmsDiscoveryKeyring.Builder builder()
-
generateDataKeyStrategy
protected GenerateDataKeyStrategy generateDataKeyStrategy()
- Specified by:
generateDataKeyStrategy
in classS3Keyring
-
encryptDataKeyStrategy
protected EncryptDataKeyStrategy encryptDataKeyStrategy()
- Specified by:
encryptDataKeyStrategy
in classS3Keyring
-
decryptDataKeyStrategies
protected Map<String,DecryptDataKeyStrategy> decryptDataKeyStrategies()
- Specified by:
decryptDataKeyStrategies
in classS3Keyring
-
-