confluent-kafka-dotnet
Show / Hide Table of Contents

Class KmsClientWrapper

Inheritance
object
KmsClientWrapper
Implements
IKmsClient
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Encryption
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
Type Name Description
IEnumerable<KeyValuePair<string, string>> configs
RegisteredKek kek

Properties

Configs

Declaration
public IEnumerable<KeyValuePair<string, string>> Configs { get; }
Property Value
Type Description
IEnumerable<KeyValuePair<string, string>>

Kek

Declaration
public RegisteredKek Kek { get; }
Property Value
Type Description
RegisteredKek

KekId

Declaration
public string KekId { get; }
Property Value
Type Description
string

KmsKeyIds

Declaration
public IList<string> KmsKeyIds { get; }
Property Value
Type Description
IList<string>

Methods

Decrypt(byte[])

Declaration
public Task<byte[]> Decrypt(byte[] ciphertext)
Parameters
Type Name Description
byte[] ciphertext
Returns
Type Description
Task<byte[]>

DoesSupport(string)

Declaration
public bool DoesSupport(string uri)
Parameters
Type Name Description
string uri
Returns
Type Description
bool

Encrypt(byte[])

Declaration
public Task<byte[]> Encrypt(byte[] plaintext)
Parameters
Type Name Description
byte[] plaintext
Returns
Type Description
Task<byte[]>

Implements

IKmsClient
In this article