Class KeyMetaData
- java.lang.Object
-
- org.uberfire.ssh.service.backend.keystore.model.KeyMetaData
-
public class KeyMetaData extends Object
Metadata for aSSHPublicKey
-
-
Constructor Summary
Constructors Constructor Description KeyMetaData()KeyMetaData(String name, Date creationDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreationDate()Gets the creation date of theSSHPublicKeyDategetLastTimeUsed()Gets the lastDatetheSSHPublicKeywas usedStringgetName()Gets the key namevoidsetLastTimeUsed(Date lastTimeUsed)Sets the lastDatetheSSHPublicKeywas used
-
-
-
Method Detail
-
getName
public String getName()
Gets the key name
-
getCreationDate
public Date getCreationDate()
Gets the creation date of theSSHPublicKey
-
getLastTimeUsed
public Date getLastTimeUsed()
Gets the lastDatetheSSHPublicKeywas used
-
setLastTimeUsed
public void setLastTimeUsed(Date lastTimeUsed)
Sets the lastDatetheSSHPublicKeywas used
-
-