Table of Contents

Class EncryptionMaterials

Namespace
Amazon.Extensions.S3.Encryption
Assembly
Amazon.Extensions.S3.Encryption.dll

The "key encrypting key" materials used in encrypt/decryption. These materials may be an asymmetric key, a symmetric key, or a KMS key ID.

public class EncryptionMaterials : EncryptionMaterialsBase
Inheritance
EncryptionMaterials

Constructors

EncryptionMaterials(AsymmetricAlgorithm)

Constructs a new EncryptionMaterials object, storing an asymmetric key.

public EncryptionMaterials(AsymmetricAlgorithm algorithm)

Parameters

algorithm AsymmetricAlgorithm

EncryptionMaterials(SymmetricAlgorithm)

Constructs a new EncryptionMaterials object, storing a symmetric key.

public EncryptionMaterials(SymmetricAlgorithm algorithm)

Parameters

algorithm SymmetricAlgorithm

EncryptionMaterials(string)

public EncryptionMaterials(string kmsKeyID)

Parameters

kmsKeyID string