Class KeyStoreInfoDTO

    • Constructor Detail

      • 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 Detail

      • 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.
      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object