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
GenerateDataKey(string, Dictionary<string, string>, string)
GenerateDataKeyResult GenerateDataKey(string keyID, Dictionary<string, string> encryptionContext, string keySpec)
Parameters
keyID
stringencryptionContext
Dictionary<string, string>keySpec
string
Returns
GenerateDataKeyAsync(string, Dictionary<string, string>, string)
Task<GenerateDataKeyResult> GenerateDataKeyAsync(string keyID, Dictionary<string, string> encryptionContext, string keySpec)
Parameters
keyID
stringencryptionContext
Dictionary<string, string>keySpec
string