public class CachedDekRegistryClient extends CachedSchemaRegistryClient implements DekRegistryClient
| Modifier and Type | Class and Description |
|---|---|
static class |
CachedDekRegistryClient.DekId |
static class |
CachedDekRegistryClient.KekId |
DEFAULT_REQUEST_PROPERTIESLATEST_VERSION| Constructor and Description |
|---|
CachedDekRegistryClient(DekRegistryRestService restService,
int cacheCapacity,
int cacheExpirySecs,
Map<String,?> configs,
Map<String,String> httpHeaders) |
CachedDekRegistryClient(DekRegistryRestService restService,
int cacheCapacity,
int cacheExpirySecs,
Map<String,?> configs,
Map<String,String> httpHeaders,
com.google.common.base.Ticker ticker) |
CachedDekRegistryClient(List<String> baseUrls,
int cacheCapacity,
int cacheExpirySecs,
Map<String,?> configs,
Map<String,String> httpHeaders) |
| Modifier and Type | Method and Description |
|---|---|
Dek |
createDek(Map<String,String> requestProperties,
String kekName,
String subject,
Integer version,
DekFormat algorithm,
String encryptedKeyMaterial,
boolean deleted) |
Dek |
createDek(Map<String,String> requestProperties,
String kekName,
String subject,
Integer version,
DekFormat algorithm,
String encryptedKeyMaterial,
boolean deleted,
boolean rewrap) |
Dek |
createDek(String kekName,
String subject,
DekFormat algorithm,
String encryptedKeyMaterial) |
Dek |
createDek(String kekName,
String subject,
int version,
DekFormat algorithm,
String encryptedKeyMaterial) |
Dek |
createDek(String kekName,
String subject,
int version,
DekFormat algorithm,
String encryptedKeyMaterial,
boolean deleted) |
Dek |
createDek(String kekName,
String subject,
int version,
DekFormat algorithm,
String encryptedKeyMaterial,
boolean deleted,
boolean rewrap) |
Kek |
createKek(Map<String,String> requestProperties,
String name,
String kmsType,
String kmsKeyId,
Map<String,String> kmsProps,
String doc,
boolean shared,
boolean deleted) |
Kek |
createKek(String name,
String kmsType,
String kmsKeyId,
Map<String,String> kmsProps,
String doc,
boolean shared) |
Kek |
createKek(String name,
String kmsType,
String kmsKeyId,
Map<String,String> kmsProps,
String doc,
boolean shared,
boolean deleted) |
void |
deleteDek(Map<String,String> requestProperties,
String kekName,
String subject,
DekFormat algorithm,
boolean permanentDelete) |
void |
deleteDek(String kekName,
String subject,
DekFormat algorithm,
boolean permanentDelete) |
void |
deleteDekVersion(Map<String,String> requestProperties,
String kekName,
String subject,
int version,
DekFormat algorithm,
boolean permanentDelete) |
void |
deleteDekVersion(String kekName,
String subject,
int version,
DekFormat algorithm,
boolean permanentDelete) |
void |
deleteKek(Map<String,String> requestProperties,
String kekName,
boolean permanentDelete) |
void |
deleteKek(String kekName,
boolean permanentDelete) |
Dek |
getDek(String kekName,
String subject,
DekFormat algorithm,
boolean lookupDeleted) |
Dek |
getDekLatestVersion(String kekName,
String subject,
DekFormat algorithm,
boolean lookupDeleted) |
Dek |
getDekVersion(String kekName,
String subject,
int version,
DekFormat algorithm,
boolean lookupDeleted) |
Kek |
getKek(String name,
boolean lookupDeleted) |
List<String> |
listDeks(String kekName,
boolean lookupDeleted) |
List<Integer> |
listDekVersions(String kekName,
String subject,
DekFormat algorithm,
boolean lookupDeleted) |
List<String> |
listKeks(boolean lookupDeleted) |
List<String> |
listKeks(List<String> subjectPrefix,
boolean lookupDeleted) |
void |
reset() |
com.google.common.base.Ticker |
ticker() |
void |
undeleteDek(Map<String,String> requestProperties,
String kekName,
String subject,
DekFormat algorithm) |
void |
undeleteDek(String kekName,
String subject,
DekFormat algorithm) |
void |
undeleteDekVersion(Map<String,String> requestProperties,
String kekName,
String subject,
int version,
DekFormat algorithm) |
void |
undeleteDekVersion(String kekName,
String subject,
int version,
DekFormat algorithm) |
void |
undeleteKek(Map<String,String> requestProperties,
String kekName) |
void |
undeleteKek(String kekName) |
Kek |
updateKek(Map<String,String> requestProperties,
String name,
Map<String,String> kmsProps,
String doc,
Boolean shared) |
Kek |
updateKek(String name,
Map<String,String> kmsProps,
String doc,
Boolean shared) |
close, deleteConfig, deleteMode, deleteSchemaVersion, deleteSchemaVersion, deleteSubject, deleteSubject, getAllContexts, getAllSubjects, getAllSubjects, getAllSubjectsById, getAllSubjectsByPrefix, getAllVersions, getAllVersions, getAllVersionsById, getByVersion, getConfig, getId, getId, getLatestSchemaMetadata, getLatestWithMetadata, getMode, getMode, getSchemaById, getSchemaByIdFromRegistry, getSchemaBySubjectAndId, getSchemaMetadata, getSchemaMetadata, getSchemaProviders, getSchemaRegistryDeployment, getSchemaRegistryServerVersion, getSchemas, getVersion, getVersion, parseSchema, parseSchema, register, register, register, registerWithResponse, setMode, setMode, setMode, testCompatibility, testCompatibilityVerbose, testCompatibilityVerbose, updateConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosedeleteCompatibility, deleteSchemaVersion, deleteSchemaVersion, deleteSubject, deleteSubject, getById, getByID, getBySubjectAndId, getBySubjectAndID, getCompatibility, getId, getVersion, parseSchema, register, register, registerWithResponse, tenant, testCompatibility, updateCompatibilitypublic CachedDekRegistryClient(List<String> baseUrls, int cacheCapacity, int cacheExpirySecs, Map<String,?> configs, Map<String,String> httpHeaders)
public CachedDekRegistryClient(DekRegistryRestService restService, int cacheCapacity, int cacheExpirySecs, Map<String,?> configs, Map<String,String> httpHeaders)
public com.google.common.base.Ticker ticker()
ticker in interface DekRegistryClientticker in interface SchemaRegistryClientticker in class CachedSchemaRegistryClientpublic List<String> listKeks(boolean lookupDeleted) throws IOException, RestClientException
listKeks in interface DekRegistryClientIOExceptionRestClientExceptionpublic List<String> listKeks(List<String> subjectPrefix, boolean lookupDeleted) throws IOException, RestClientException
listKeks in interface DekRegistryClientIOExceptionRestClientExceptionpublic Kek getKek(String name, boolean lookupDeleted) throws IOException, RestClientException
getKek in interface DekRegistryClientIOExceptionRestClientExceptionpublic List<String> listDeks(String kekName, boolean lookupDeleted) throws IOException, RestClientException
listDeks in interface DekRegistryClientIOExceptionRestClientExceptionpublic List<Integer> listDekVersions(String kekName, String subject, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
listDekVersions in interface DekRegistryClientIOExceptionRestClientExceptionpublic Dek getDek(String kekName, String subject, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
getDek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Dek getDekVersion(String kekName, String subject, int version, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
getDekVersion in interface DekRegistryClientIOExceptionRestClientExceptionpublic Dek getDekLatestVersion(String kekName, String subject, DekFormat algorithm, boolean lookupDeleted) throws IOException, RestClientException
getDekLatestVersion in interface DekRegistryClientIOExceptionRestClientExceptionpublic Kek createKek(String name, String kmsType, String kmsKeyId, Map<String,String> kmsProps, String doc, boolean shared) throws IOException, RestClientException
createKek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Kek createKek(String name, String kmsType, String kmsKeyId, Map<String,String> kmsProps, String doc, boolean shared, boolean deleted) throws IOException, RestClientException
createKek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Kek createKek(Map<String,String> requestProperties, String name, String kmsType, String kmsKeyId, Map<String,String> kmsProps, String doc, boolean shared, boolean deleted) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic Dek createDek(String kekName, String subject, DekFormat algorithm, String encryptedKeyMaterial) throws IOException, RestClientException
createDek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Dek createDek(String kekName, String subject, int version, DekFormat algorithm, String encryptedKeyMaterial) throws IOException, RestClientException
createDek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Dek createDek(String kekName, String subject, int version, DekFormat algorithm, String encryptedKeyMaterial, boolean deleted) throws IOException, RestClientException
createDek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Dek createDek(String kekName, String subject, int version, DekFormat algorithm, String encryptedKeyMaterial, boolean deleted, boolean rewrap) throws IOException, RestClientException
createDek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Dek createDek(Map<String,String> requestProperties, String kekName, String subject, Integer version, DekFormat algorithm, String encryptedKeyMaterial, boolean deleted) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic Dek createDek(Map<String,String> requestProperties, String kekName, String subject, Integer version, DekFormat algorithm, String encryptedKeyMaterial, boolean deleted, boolean rewrap) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic Kek updateKek(String name, Map<String,String> kmsProps, String doc, Boolean shared) throws IOException, RestClientException
updateKek in interface DekRegistryClientIOExceptionRestClientExceptionpublic Kek updateKek(Map<String,String> requestProperties, String name, Map<String,String> kmsProps, String doc, Boolean shared) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic void deleteKek(String kekName, boolean permanentDelete) throws IOException, RestClientException
deleteKek in interface DekRegistryClientIOExceptionRestClientExceptionpublic void deleteKek(Map<String,String> requestProperties, String kekName, boolean permanentDelete) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic void deleteDek(String kekName, String subject, DekFormat algorithm, boolean permanentDelete) throws IOException, RestClientException
deleteDek in interface DekRegistryClientIOExceptionRestClientExceptionpublic void deleteDek(Map<String,String> requestProperties, String kekName, String subject, DekFormat algorithm, boolean permanentDelete) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic void deleteDekVersion(String kekName, String subject, int version, DekFormat algorithm, boolean permanentDelete) throws IOException, RestClientException
deleteDekVersion in interface DekRegistryClientIOExceptionRestClientExceptionpublic void deleteDekVersion(Map<String,String> requestProperties, String kekName, String subject, int version, DekFormat algorithm, boolean permanentDelete) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic void undeleteKek(String kekName) throws IOException, RestClientException
undeleteKek in interface DekRegistryClientIOExceptionRestClientExceptionpublic void undeleteKek(Map<String,String> requestProperties, String kekName) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic void undeleteDek(String kekName, String subject, DekFormat algorithm) throws IOException, RestClientException
undeleteDek in interface DekRegistryClientIOExceptionRestClientExceptionpublic void undeleteDek(Map<String,String> requestProperties, String kekName, String subject, DekFormat algorithm) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic void undeleteDekVersion(String kekName, String subject, int version, DekFormat algorithm) throws IOException, RestClientException
undeleteDekVersion in interface DekRegistryClientIOExceptionRestClientExceptionpublic void undeleteDekVersion(Map<String,String> requestProperties, String kekName, String subject, int version, DekFormat algorithm) throws IOException, RestClientException
IOExceptionRestClientExceptionpublic void reset()
reset in interface DekRegistryClientreset in interface SchemaRegistryClientreset in class CachedSchemaRegistryClientCopyright © 2026 Confluent, Inc.. All rights reserved.