Interface IDekRegistryClient
An interface implemented by Confluent DEK Registry clients.
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
public interface IDekRegistryClient : IDisposable
Properties
MaxCachedKeys
The maximum capacity of the local cache.
Declaration
int MaxCachedKeys { get; }
Property Value
Methods
CreateDekAsync(string, Dek)
Declaration
Task<RegisteredDek> CreateDekAsync(string kekName, Dek dek)
Parameters
Returns
CreateKekAsync(Kek)
Declaration
Task<RegisteredKek> CreateKekAsync(Kek kek)
Parameters
Type |
Name |
Description |
Kek |
kek |
|
Returns
Declaration
Task<RegisteredDek> GetDekAsync(string kekName, string subject, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Returns
Get a DEK latest version.
Declaration
Task<RegisteredDek> GetDekLatestVersionAsync(string kekName, string subject, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Returns
Declaration
Task<RegisteredDek> GetDekVersionAsync(string kekName, string subject, int version, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Returns
Get the list of DEK versions.
Declaration
Task<List<int>> GetDekVersionsAsync(string kekName, string subject, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Returns
GetDeksAsync(string, bool)
Declaration
Task<List<string>> GetDeksAsync(string kekName, bool ignoreDeletedDeks)
Parameters
Type |
Name |
Description |
string |
kekName |
|
bool |
ignoreDeletedDeks |
|
Returns
GetKekAsync(string, bool)
Declaration
Task<RegisteredKek> GetKekAsync(string name, bool ignoreDeletedKeks)
Parameters
Type |
Name |
Description |
string |
name |
|
bool |
ignoreDeletedKeks |
|
Returns
GetKeksAsync(bool)
Declaration
Task<List<string>> GetKeksAsync(bool ignoreDeletedKeks)
Parameters
Type |
Name |
Description |
bool |
ignoreDeletedKeks |
|
Returns
UpdateKekAsync(string, UpdateKek)
Declaration
Task<RegisteredKek> UpdateKekAsync(string name, UpdateKek kek)
Parameters
Returns