confluent-kafka-dotnet
Show / Hide Table of Contents

Class LocalKmsClient

Inheritance
object
LocalKmsClient
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 LocalKmsClient : IKmsClient

Constructors

LocalKmsClient(string)

Declaration
public LocalKmsClient(string secret)
Parameters
Type Name Description
string secret

Properties

Secret

Declaration
public string Secret { get; }
Property Value
Type Description
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