Class KeyStoreInfoDTO
java.lang.Object
de.xima.fc.certificate.mgmt.keystore.KeyStoreInfoDTO
- All Implemented Interfaces:
Serializable
A DTO that contains information about a key store.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKeyStoreInfoDTO(Long id, int lockingVersion, boolean defaultKeyStore, Set<CertificateInfoDTO> certificates) Creates a newKeyStoreInfoDTOinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe ID of the owner (user or tenant) or NULL for system keystores.Assigned to a user, client or system.The certificates in the keystore.An optional description of the key store.getId()The (database) id of the key store.intThe version for optimistic locking.getName()The name of the key store.inthashCode()booleanWhether the keystore is the default keystore.voidsetAssigneeId(Long assigneeId) The ID of the owner (user or tenant) or NULL for system keystores.voidsetAssigneeType(EAssigneeType assigneeType) Assigned to a user, client or system.voidsetDescription(String description) An optional description of the key store.voidThe name of the key store.toString()
-
Constructor Details
-
KeyStoreInfoDTO
public KeyStoreInfoDTO(Long id, int lockingVersion, boolean defaultKeyStore, Set<CertificateInfoDTO> certificates) Creates a newKeyStoreInfoDTOinstance.- 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
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
The certificates in the keystore. -
getAssigneeType
Assigned to a user, client or system. -
getAssigneeId
The ID of the owner (user or tenant) or NULL for system keystores. -
getName
The name of the key store. -
getDescription
An optional description of the key store. -
setAssigneeType
Assigned to a user, client or system. -
setAssigneeId
The ID of the owner (user or tenant) or NULL for system keystores. -
setName
The name of the key store. -
setDescription
An optional description of the key store. -
equals
-
canEqual
-
hashCode
-
toString
-