Class DekRestService
Inheritance
DekRestService
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
public class DekRestService : RestService, IDisposable
Constructors
Initializes a new instance of the RestService class.
Declaration
public DekRestService(string schemaRegistryUrl, int timeoutMs, IAuthenticationHeaderValueProvider authenticationHeaderValueProvider, List<X509Certificate2> certificates, bool enableSslCertificateVerification)
Parameters
Methods
CreateDekAsync(string, Dek)
Declaration
public Task<RegisteredDek> CreateDekAsync(string kekName, Dek dek)
Parameters
Returns
CreateKekAsync(Kek)
Declaration
public Task<RegisteredKek> CreateKekAsync(Kek kek)
Parameters
Type |
Name |
Description |
Kek |
kek |
|
Returns
Declaration
public Task<RegisteredDek> GetDekAsync(string kekName, string subject, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Returns
Declaration
public Task<RegisteredDek> GetDekVersionAsync(string kekName, string subject, int version, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Returns
Declaration
public Task<List<int>> GetDekVersionsAsync(string kekName, string subject, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Returns
GetDeksAsync(string, bool)
Declaration
public Task<List<string>> GetDeksAsync(string kekName, bool ignoreDeletedDeks)
Parameters
Type |
Name |
Description |
string |
kekName |
|
bool |
ignoreDeletedDeks |
|
Returns
GetKekAsync(string, bool)
Declaration
public Task<RegisteredKek> GetKekAsync(string name, bool ignoreDeletedKeks)
Parameters
Type |
Name |
Description |
string |
name |
|
bool |
ignoreDeletedKeks |
|
Returns
GetKeksAsync(bool)
Declaration
public Task<List<string>> GetKeksAsync(bool ignoreDeletedKeks)
Parameters
Type |
Name |
Description |
bool |
ignoreDeletedKeks |
|
Returns
UpdateKekAsync(string, UpdateKek)
Declaration
public Task<RegisteredKek> UpdateKekAsync(string name, UpdateKek kek)
Parameters
Returns
Implements