Class EncryptionKey

java.lang.Object
io.confluent.dekregistry.storage.EncryptionKey
Direct Known Subclasses:
DataEncryptionKey, KeyEncryptionKey

public abstract class EncryptionKey extends Object
  • Field Details

    • type

      protected final KeyType type
    • deleted

      protected final boolean deleted
    • offset

      protected Long offset
    • timestamp

      protected Long timestamp
  • Constructor Details

    • EncryptionKey

      public EncryptionKey(KeyType type, boolean deleted)
  • Method Details

    • getType

      public KeyType getType()
    • isDeleted

      public boolean isDeleted()
    • getOffset

      public Long getOffset()
    • setOffset

      public void setOffset(Long offset)
    • getTimestamp

      public Long getTimestamp()
    • setTimestamp

      public void setTimestamp(Long timestamp)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toKey

      public abstract EncryptionKeyId toKey(String tenant)