/// <summary> /// Constructs AmazonS3EncryptionClient with AWS Access Key ID, Secret Key, SessionToken /// AmazonS3EncryptionClient CryptoConfiguration object and Encryption materials. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="config">The AmazonS3EncryptionClient CryptoConfiguration Object</param> /// <param name="materials"> /// The encryption materials to be used to encrypt and decrypt envelope key. /// </param> public AmazonS3EncryptionClientBase(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonS3CryptoConfigurationBase config, EncryptionMaterialsBase materials) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, config) { this.EncryptionMaterials = materials; S3CryptoConfig = config; }
/// <summary> /// Constructs AmazonS3EncryptionClient with AWS Credentials, AmazonS3CryptoConfigurationBase Configuration object /// and Encryption materials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="config">The AmazonS3EncryptionClient CryptoConfiguration Object</param> /// <param name="materials"> /// The encryption materials to be used to encrypt and decrypt envelope key. /// </param> public AmazonS3EncryptionClientBase(AWSCredentials credentials, AmazonS3CryptoConfigurationBase config, EncryptionMaterialsBase materials) : base(credentials, config) { this.EncryptionMaterials = materials; S3CryptoConfig = config; }