Table of Contents

Interface ICoreAmazonKMS

Namespace
Amazon.Runtime.SharedInterfaces
Assembly
AWSSDK.Core.dll

ICoreAmazonKMS is not meant to be used directly. It defines Key Management Service with basic .NET types and allows other services to be able to use the service as a runtime dependency. This interface is implemented by the AmazonKeyManagementServiceClient defined in the AWSSDK.KeyManagementService assembly.

public interface ICoreAmazonKMS : IDisposable
Inherited Members

Methods

Decrypt(byte[], Dictionary<string, string>)

byte[] Decrypt(byte[] ciphertextBlob, Dictionary<string, string> encryptionContext)

Parameters

ciphertextBlob byte[]
encryptionContext Dictionary<string, string>

Returns

byte[]

DecryptAsync(byte[], Dictionary<string, string>)

Task<byte[]> DecryptAsync(byte[] ciphertextBlob, Dictionary<string, string> encryptionContext)

Parameters

ciphertextBlob byte[]
encryptionContext Dictionary<string, string>

Returns

Task<byte[]>

GenerateDataKey(string, Dictionary<string, string>, string)

GenerateDataKeyResult GenerateDataKey(string keyID, Dictionary<string, string> encryptionContext, string keySpec)

Parameters

keyID string
encryptionContext Dictionary<string, string>
keySpec string

Returns

GenerateDataKeyResult

GenerateDataKeyAsync(string, Dictionary<string, string>, string)

Task<GenerateDataKeyResult> GenerateDataKeyAsync(string keyID, Dictionary<string, string> encryptionContext, string keySpec)

Parameters

keyID string
encryptionContext Dictionary<string, string>
keySpec string

Returns

Task<GenerateDataKeyResult>