Class LocalKmsClient
Inheritance
LocalKmsClient
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
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