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 Type
    Method
    Description
    Provides KeyPair that will be used to configure S3EncryptionClient.
  • Method Details

    • generateKeyPair

      KeyPair generateKeyPair()
      Provides KeyPair that will be used to configure S3EncryptionClient. Advised to fetch and return KeyPair in this method from Secured Storage.
      Returns:
      KeyPair that will be used for encryption/decryption.