confluent-kafka-dotnet
Show / Hide Table of Contents

Class AzureKmsClient

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

Constructors

AzureKmsClient(string, TokenCredential)

Declaration
public AzureKmsClient(string kekId, TokenCredential tokenCredential)
Parameters
TypeNameDescription
stringkekId
TokenCredentialtokenCredential

Properties

KekId

Declaration
public string KekId { 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