confluent-kafka-dotnet
Show / Hide Table of Contents

Class HcVaultKmsClient

Inheritance
object
HcVaultKmsClient
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.HcVault
Assembly: Confluent.SchemaRegistry.Encryption.HcVault.dll
Syntax
public class HcVaultKmsClient : IKmsClient

Constructors

HcVaultKmsClient(string, string, string)

Declaration
public HcVaultKmsClient(string kekId, string ns, string tokenId)
Parameters
TypeNameDescription
stringkekId
stringns
stringtokenId

Properties

KekId

Declaration
public string KekId { get; }
Property Value
TypeDescription
string

Namespace

Declaration
public string Namespace { get; }
Property Value
TypeDescription
string

TokenId

Declaration
public string TokenId { get; }
Property Value
TypeDescription
string

Methods

Decrypt(byte[])

Declaration
public Task<byte[]> Decrypt(byte[] ciphertext)
Parameters
TypeNameDescription
byte[]ciphertext
Returns
TypeDescription
Task<byte[]>

DoesSupport(string)

Declaration
public bool DoesSupport(string uri)
Parameters
TypeNameDescription
stringuri
Returns
TypeDescription
bool

Encrypt(byte[])

Declaration
public Task<byte[]> Encrypt(byte[] plaintext)
Parameters
TypeNameDescription
byte[]plaintext
Returns
TypeDescription
Task<byte[]>

Implements

IKmsClient
In this article