confluent-kafka-dotnet
Show / Hide Table of Contents

Class DekRestService

Inheritance
object
RestService
DekRestService
Implements
IDisposable
Inherited Members
RestService.RequestAsync<T>(string, HttpMethod, params object[])
RestService.RequestListOfAsync<T>(string, HttpMethod, params object[])
RestService.GetSchemaAsync(int, string)
RestService.GetSchemaBySubjectAndIdAsync(string, int, string)
RestService.GetSubjectsAsync()
RestService.GetSubjectVersionsAsync(string)
RestService.GetSchemaAsync(string, int, bool)
RestService.GetLatestSchemaAsync(string)
RestService.GetLatestWithMetadataAsync(string, IDictionary<string, string>, bool)
RestService.RegisterSchemaAsync(string, Schema, bool)
RestService.LookupSchemaAsync(string, Schema, bool, bool)
RestService.TestCompatibilityAsync(string, int, Schema)
RestService.TestLatestCompatibilityAsync(string, Schema)
RestService.UpdateCompatibilityAsync(string, Compatibility)
RestService.GetCompatibilityAsync(string)
RestService.Dispose()
RestService.Dispose(bool)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Encryption
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
public class DekRestService : RestService, IDisposable

Constructors

DekRestService(string, int, IAuthenticationHeaderValueProvider, List<X509Certificate2>, bool)

Initializes a new instance of the RestService class.

Declaration
public DekRestService(string schemaRegistryUrl, int timeoutMs, IAuthenticationHeaderValueProvider authenticationHeaderValueProvider, List<X509Certificate2> certificates, bool enableSslCertificateVerification)
Parameters
Type Name Description
string schemaRegistryUrl
int timeoutMs
IAuthenticationHeaderValueProvider authenticationHeaderValueProvider
List<X509Certificate2> certificates
bool enableSslCertificateVerification

Methods

CreateDekAsync(string, Dek)

Declaration
public Task<RegisteredDek> CreateDekAsync(string kekName, Dek dek)
Parameters
Type Name Description
string kekName
Dek dek
Returns
Type Description
Task<RegisteredDek>

CreateKekAsync(Kek)

Declaration
public Task<RegisteredKek> CreateKekAsync(Kek kek)
Parameters
Type Name Description
Kek kek
Returns
Type Description
Task<RegisteredKek>

GetDekAsync(string, string, DekFormat?, bool)

Declaration
public Task<RegisteredDek> GetDekAsync(string kekName, string subject, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Type Name Description
string kekName
string subject
DekFormat? algorithm
bool ignoreDeletedDeks
Returns
Type Description
Task<RegisteredDek>

GetDekVersionAsync(string, string, int, DekFormat?, bool)

Declaration
public Task<RegisteredDek> GetDekVersionAsync(string kekName, string subject, int version, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Type Name Description
string kekName
string subject
int version
DekFormat? algorithm
bool ignoreDeletedDeks
Returns
Type Description
Task<RegisteredDek>

GetDekVersionsAsync(string, string, DekFormat?, bool)

Declaration
public Task<List<int>> GetDekVersionsAsync(string kekName, string subject, DekFormat? algorithm, bool ignoreDeletedDeks)
Parameters
Type Name Description
string kekName
string subject
DekFormat? algorithm
bool ignoreDeletedDeks
Returns
Type Description
Task<List<int>>

GetDeksAsync(string, bool)

Declaration
public Task<List<string>> GetDeksAsync(string kekName, bool ignoreDeletedDeks)
Parameters
Type Name Description
string kekName
bool ignoreDeletedDeks
Returns
Type Description
Task<List<string>>

GetKekAsync(string, bool)

Declaration
public Task<RegisteredKek> GetKekAsync(string name, bool ignoreDeletedKeks)
Parameters
Type Name Description
string name
bool ignoreDeletedKeks
Returns
Type Description
Task<RegisteredKek>

GetKeksAsync(bool)

Declaration
public Task<List<string>> GetKeksAsync(bool ignoreDeletedKeks)
Parameters
Type Name Description
bool ignoreDeletedKeks
Returns
Type Description
Task<List<string>>

UpdateKekAsync(string, UpdateKek)

Declaration
public Task<RegisteredKek> UpdateKekAsync(string name, UpdateKek kek)
Parameters
Type Name Description
string name
UpdateKek kek
Returns
Type Description
Task<RegisteredKek>

Implements

IDisposable
In this article