Package io.confluent.dekregistry.storage
Class DataEncryptionKey
java.lang.Object
io.confluent.dekregistry.storage.EncryptionKey
io.confluent.dekregistry.storage.DataEncryptionKey
-
Field Summary
Fields inherited from class io.confluent.dekregistry.storage.EncryptionKey
deleted, offset, timestamp, type -
Constructor Summary
ConstructorsConstructorDescriptionDataEncryptionKey(String kekName, String subject, DekFormat algorithm, int version, String encryptedKeyMaterial, boolean deleted) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()booleanvoidsetKeyMaterial(String keyMaterial) Methods inherited from class io.confluent.dekregistry.storage.EncryptionKey
getOffset, getTimestamp, getType, isDeleted, setOffset, setTimestamp
-
Constructor Details
-
DataEncryptionKey
-
-
Method Details
-
getKekName
-
getSubject
-
getAlgorithm
-
getVersion
public int getVersion() -
getEncryptedKeyMaterial
-
getKeyMaterial
-
setKeyMaterial
-
isEquivalent
-
equals
- Overrides:
equalsin classEncryptionKey
-
hashCode
public int hashCode()- Overrides:
hashCodein classEncryptionKey
-
toKey
- Specified by:
toKeyin classEncryptionKey
-
toDekEntity
-