Пример #1
0
 protected S3CryptoModuleBase(
     S3Direct s3,
     AWSCredentialsProvider credentialsProvider,
     EncryptionMaterialsProvider kekMaterialsProvider,
     ClientConfiguration clientConfig,
     CryptoConfiguration cryptoConfig,
     S3CryptoScheme cryptoScheme) {
   this.kekMaterialsProvider = kekMaterialsProvider;
   this.cryptoConfig = cryptoConfig;
   this.s3 = s3;
   this.cryptoScheme = cryptoScheme;
   this.contentCryptoScheme = cryptoScheme.getContentCryptoScheme();
 }