cryptoConfig.getCryptoProvider(), req);
}
}
if (req instanceof MaterialsDescriptionProvider) {
// per request level material description
MaterialsDescriptionProvider mdp = (MaterialsDescriptionProvider) req;
return newContentCryptoMaterial(this.kekMaterialsProvider,
mdp.getMaterialsDescription(),
cryptoConfig.getCryptoProvider(), req);
}
// per s3 client level encryption materails
return newContentCryptoMaterial(this.kekMaterialsProvider,
cryptoConfig.getCryptoProvider(), req);