Class EncryptionMaterialsV2 | Amazon S3 Encryption Client for .NET (original) (raw)
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. Every material has its unique type such as RsaOaepSha1, AesGcm or KmsContext respectively.
public class EncryptionMaterialsV2 : EncryptionMaterialsBase
Inheritance
EncryptionMaterialsV2
Constructors
EncryptionMaterialsV2(AsymmetricAlgorithm, AsymmetricAlgorithmType)
Constructs a new EncryptionMaterials object, storing an asymmetric key.
public EncryptionMaterialsV2(AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType)
Parameters
algorithm
AsymmetricAlgorithm
Generic asymmetric algorithm
algorithmType
AsymmetricAlgorithmType
Type of of the asymmetric algorithm
EncryptionMaterialsV2(SymmetricAlgorithm, SymmetricAlgorithmType)
Constructs a new EncryptionMaterials object, storing a symmetric key.
public EncryptionMaterialsV2(SymmetricAlgorithm algorithm, SymmetricAlgorithmType algorithmType)
Parameters
algorithm
SymmetricAlgorithm
Generic symmetric algorithm
algorithmType
SymmetricAlgorithmType
Type of the symmetric algorithm
EncryptionMaterialsV2(string, KmsType, Dictionary<string, string>)
Constructs a new EncryptionMaterials object, storing a KMS Key ID
public EncryptionMaterialsV2(string kmsKeyId, KmsType kmsType, Dictionary<string, string> materialsDescription)
Parameters
kmsKeyId
string
Generic KMS Id
kmsType
KmsType
Type of the KMS Id
materialsDescription
Dictionary<string, string>