Class KmsClientWrapper
Inheritance
KmsClientWrapper
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
public class KmsClientWrapper : IKmsClient
Constructors
KmsClientWrapper(IEnumerable<KeyValuePair<string, string>>, RegisteredKek)
Declaration
public KmsClientWrapper(IEnumerable<KeyValuePair<string, string>> configs, RegisteredKek kek)
Parameters
Properties
Configs
Declaration
public IEnumerable<KeyValuePair<string, string>> Configs { get; }
Property Value
Kek
Declaration
public RegisteredKek Kek { get; }
Property Value
KekId
Declaration
public string KekId { get; }
Property Value
KmsKeyIds
Declaration
public IList<string> KmsKeyIds { get; }
Property Value
Methods
Decrypt(byte[])
Declaration
public Task<byte[]> Decrypt(byte[] ciphertext)
Parameters
| Type | Name | Description |
|---|
| byte[] | ciphertext | |
Returns
DoesSupport(string)
Declaration
public bool DoesSupport(string uri)
Parameters
Returns
Encrypt(byte[])
Declaration
public Task<byte[]> Encrypt(byte[] plaintext)
Parameters
| Type | Name | Description |
|---|
| byte[] | plaintext | |
Returns
Implements