ignite-aws-ext extension (1.0.0), is not a drop-in one: it pulls in
older libraries at compile scope (aws-java-sdk 1.11.75, jackson-databind 2.12.4,
httpclient 4.5.1, bcprov-ext-jdk15on 1.69) than the CVE-patched ones this module uses, so
check them against your security requirements before switching.
For this class in particular: the extension's KMS support works only with AWS Encryption
SDK 1.x - it pins 1.3.2, which has no key commitment (CVE-2020-8897), and fails with
NoSuchMethodError on the 2.x SDK this module ships. It also has no
setRegion(String) overload, only setRegion(Region). Data encrypted by this
class and by the extension can't be read by the other side, so move an encrypted IP finder
to a fresh key prefix - see
TcpDiscoveryS3IpFinder.@Deprecated public class AwsKmsEncryptionService extends Object implements EncryptionService
| Constructor and Description |
|---|
AwsKmsEncryptionService()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] data)
Deprecated.
Decrypt the input data.
|
byte[] |
encrypt(byte[] data)
Deprecated.
Encrypt the input data.
|
void |
init()
Deprecated.
For initialization operations.
|
AwsKmsEncryptionService |
setClientConf(com.amazonaws.ClientConfiguration clientConf)
Deprecated.
AWS client configuration.
|
AwsKmsEncryptionService |
setCredentials(com.amazonaws.auth.AWSCredentials creds)
Deprecated.
AWS credentials.
|
AwsKmsEncryptionService |
setKeyId(String keyId)
Deprecated.
Set the KMS key id used to encrypt/decrypt the data.
|
AwsKmsEncryptionService |
setRegion(com.amazonaws.regions.Region region)
Deprecated.
AWS region.
|
AwsKmsEncryptionService |
setRegion(String region)
Deprecated.
AWS region.
|
String |
toString()
Deprecated.
|
public AwsKmsEncryptionService setKeyId(String keyId)
keyId - Key id.this for chaining.public AwsKmsEncryptionService setRegion(com.amazonaws.regions.Region region)
region - Region.this for chaining.public AwsKmsEncryptionService setRegion(String region)
region - Region.this for chaining.public AwsKmsEncryptionService setCredentials(com.amazonaws.auth.AWSCredentials creds)
creds - Aws Credentials.this for chaining.public AwsKmsEncryptionService setClientConf(com.amazonaws.ClientConfiguration clientConf)
clientConf - Client conf.this for chaining.public void init()
EncryptionService.encrypt(byte[]) and EncryptionService.decrypt(byte[]) are used.init in interface EncryptionServicepublic byte[] encrypt(byte[] data)
encrypt in interface EncryptionServicedata - Data. bytes to be encrypted.public byte[] decrypt(byte[] data)
decrypt in interface EncryptionServicedata - Encrypted data.
GridGain In-Memory Computing Platform : ver. 8.9.39 Release Date : October 29 2026