Class EncryptionMaterialsV2
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.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amazon.Extensions.S3.Encryption
Assembly: Amazon.Extensions.S3.Encryption.dll
Syntax
public class EncryptionMaterialsV2 : EncryptionMaterialsBase
Constructors
| Improve this Doc View SourceEncryptionMaterialsV2(AsymmetricAlgorithm, AsymmetricAlgorithmType)
Constructs a new EncryptionMaterials object, storing an asymmetric key.
Declaration
public EncryptionMaterialsV2(AsymmetricAlgorithm algorithm, AsymmetricAlgorithmType algorithmType)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.AsymmetricAlgorithm | algorithm | Generic asymmetric algorithm |
AsymmetricAlgorithmType | algorithmType | Type of of the asymmetric algorithm |
EncryptionMaterialsV2(SymmetricAlgorithm, SymmetricAlgorithmType)
Constructs a new EncryptionMaterials object, storing a symmetric key.
Declaration
public EncryptionMaterialsV2(SymmetricAlgorithm algorithm, SymmetricAlgorithmType algorithmType)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.SymmetricAlgorithm | algorithm | Generic symmetric algorithm |
SymmetricAlgorithmType | algorithmType | Type of the symmetric algorithm |
EncryptionMaterialsV2(String, KmsType, Dictionary<String, String>)
Constructs a new EncryptionMaterials object, storing a KMS Key ID
Declaration
public EncryptionMaterialsV2(string kmsKeyId, KmsType kmsType, Dictionary<string, string> materialsDescription)
Parameters
Type | Name | Description |
---|---|---|
System.String | kmsKeyId | Generic KMS Id |
KmsType | kmsType | Type of the KMS Id |
System.Collections.Generic.Dictionary<System.String, System.String> | materialsDescription |