com.ionic.cloudstorage.awss3.IonicS3EncryptionClientParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ionic-for-aws-java-sdk-s3 Show documentation
Show all versions of ionic-for-aws-java-sdk-s3 Show documentation
Ionic Protect for AWS S3 Cloud Storage offers a simple way for developers building atop AWS S3’s Java SDK to invoke Ionic’s protection and policy functionality as data moves to and from the cloud storage. This addresses use cases such as migration from on-prem storage solutions, protecting data across multi-region or multi-cloud envrionments, applying granular cryptographic control, and more.
The newest version!
/*
* (c) 2017-2019 Ionic Security Inc. By using this code, I agree to the LICENSE included, as well as
* the Terms & Conditions (https://dev.ionic.com/use) and the Privacy Policy
* (https://www.ionic.com/privacy-notice/).
*/
package com.ionic.cloudstorage.awss3;
import com.amazonaws.client.AwsSyncClientParams;
import com.amazonaws.services.kms.AWSKMS;
import com.amazonaws.services.s3.S3ClientOptions;
import com.amazonaws.services.s3.model.CryptoConfiguration;
import com.amazonaws.services.s3.model.EncryptionMaterialsProvider;
/**
* IonicS3EncryptionClientParams class.
*
* A faux implementation of AmazonS3EncryptionClientParams.
*/
public class IonicS3EncryptionClientParams {
EncryptionMaterialsProvider materialsProvider;
CryptoConfiguration cryptoConfig;
AwsSyncClientParams clientParams;
S3ClientOptions clientOptions;
public EncryptionMaterialsProvider getEncryptionMaterials() {
return materialsProvider;
}
public CryptoConfiguration getCryptoConfiguration() {
return cryptoConfig;
}
public AWSKMS getKmsClient() {
return null;
}
public AwsSyncClientParams getClientParams() {
return clientParams;
}
public S3ClientOptions getS3ClientOptions() {
return clientOptions;
}
IonicS3EncryptionClientParams(AwsSyncClientParams clientParams) {
this.clientParams = clientParams;
}
}