Show / Hide Table of Contents

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.

Inheritance
System.Object
EncryptionMaterialsBase
EncryptionMaterialsV2
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 Source

EncryptionMaterialsV2(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

| Improve this Doc View Source

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

| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX