Class KeyStoreInfoDTO

java.lang.Object
de.xima.fc.certificate.mgmt.keystore.KeyStoreInfoDTO
All Implemented Interfaces:
Serializable

public class KeyStoreInfoDTO extends Object implements Serializable
A DTO that contains information about a key store.
See Also:
  • Constructor Details

    • KeyStoreInfoDTO

      public KeyStoreInfoDTO(Long id, int lockingVersion, boolean defaultKeyStore, Set<CertificateInfoDTO> certificates)
      Creates a new KeyStoreInfoDTO instance.
      Parameters:
      id - The (database) id of the key store.
      lockingVersion - The version for optimistic locking.
      defaultKeyStore - Whether the keystore is the default keystore.
      certificates - The certificates in the keystore.
  • Method Details

    • getId

      public Long getId()
      The (database) id of the key store.
    • getLockingVersion

      public int getLockingVersion()
      The version for optimistic locking.
    • isDefaultKeyStore

      public boolean isDefaultKeyStore()
      Whether the keystore is the default keystore.
    • getCertificates

      public Set<CertificateInfoDTO> getCertificates()
      The certificates in the keystore.
    • getAssigneeType

      public EAssigneeType getAssigneeType()
      Assigned to a user, client or system.
    • getAssigneeId

      public Long getAssigneeId()
      The ID of the owner (user or tenant) or NULL for system keystores.
    • getName

      public String getName()
      The name of the key store.
    • getDescription

      public String getDescription()
      An optional description of the key store.
    • setAssigneeType

      public void setAssigneeType(EAssigneeType assigneeType)
      Assigned to a user, client or system.
    • setAssigneeId

      public void setAssigneeId(Long assigneeId)
      The ID of the owner (user or tenant) or NULL for system keystores.
    • setName

      public void setName(String name)
      The name of the key store.
    • setDescription

      public void setDescription(String description)
      An optional description of the key store.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object