Interface S3RsaProvider
public interface S3RsaProvider
Interface for providing
KeyPair
when configuring S3EncryptionClient
.
Required for encrypting/decrypting files server side with RSA. Key pair should be stored in secure storage, for
example AWS Secrets Manager.- Since:
- 3.3.0
- Author:
- Matej Nedic
-
Method Summary
Modifier and TypeMethodDescriptionProvides KeyPair that will be used to configureS3EncryptionClient
.
-
Method Details
-
generateKeyPair
KeyPair generateKeyPair()Provides KeyPair that will be used to configureS3EncryptionClient
. Advised to fetch and return KeyPair in this method from Secured Storage.- Returns:
- KeyPair that will be used for encryption/decryption.
-