@Table public class Anchor extends Object
| Constructor and Description |
|---|
Anchor() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCertificateId()
Get the value of certificateId.
|
LocalDateTime |
getCreateTime()
Get the value of createTime.
|
byte[] |
getData()
Get the value of certificateData.
|
Long |
getId()
Get the value of id.
|
String |
getOwner()
Get the value of owner.
|
int |
getStatus()
Get the value of status.
|
String |
getThumbprint()
Get the value of thumbprint.
|
LocalDateTime |
getValidEndDate()
Get the value of validEndDate.
|
LocalDateTime |
getValidStartDate()
Get the value of validStartDate.
|
boolean |
isIncoming()
Get the value of incoming.
|
boolean |
isOutgoing()
Get the value of outgoing.
|
void |
setCertificateId(long certificateId)
Set the value of certificateId.
|
void |
setCreateTime(LocalDateTime timestamp)
Set the value of createTime.
|
void |
setData(byte[] data)
Set the value of certificateData.
|
void |
setId(Long id)
Set the value of id.
|
void |
setIncoming(boolean incoming)
Set the value of incoming.
|
void |
setOutgoing(boolean outgoing)
Set the value of outgoing.
|
void |
setOwner(String owner)
Set the value of owner.
|
void |
setStatus(int status)
Set the value of status.
|
void |
setThumbprint(String thumbprint)
Set the value of thumbprint.
|
void |
setValidEndDate(LocalDateTime validEndDate)
Set the value of validEndDate.
|
void |
setValidStartDate(LocalDateTime validStartDate)
Set the value of validStartDate.
|
X509Certificate |
toCertificate() |
void |
validate()
Validate the Anchor for the existance of data.
|
public String getOwner()
public void setOwner(String owner)
owner - The value of owner.public String getThumbprint()
public void setThumbprint(String thumbprint)
thumbprint - The value of thumbprint.public byte[] getData()
public void setData(byte[] data)
throws CertificateException
data - The value of certificateData.CertificateExceptionpublic Long getId()
public void setId(Long id)
id - The value of id.public LocalDateTime getCreateTime()
public void setCreateTime(LocalDateTime timestamp)
timestamp - The value of createTime.public LocalDateTime getValidStartDate()
public void setValidStartDate(LocalDateTime validStartDate)
validStartDate - The value of validStartDate.public LocalDateTime getValidEndDate()
public void setValidEndDate(LocalDateTime validEndDate)
validEndDate - The value of validEndDate.public int getStatus()
public void setStatus(int status)
status - The value of status.public boolean isIncoming()
public void setIncoming(boolean incoming)
incoming - The value of incoming.public boolean isOutgoing()
public void setOutgoing(boolean outgoing)
outgoing - The value of outgoing.public long getCertificateId()
public void setCertificateId(long certificateId)
certificateId - The value of certificateId.public X509Certificate toCertificate() throws CertificateException
CertificateExceptionpublic void validate()
throws CertificateException
CertificateExceptionCopyright © 2020. All rights reserved.