@Table(value="trustbundleanchor") public class TrustBundleAnchor extends Object
| Constructor and Description |
|---|
TrustBundleAnchor() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Get the value of anchorData.
|
Long |
getId()
Get the value of id.
|
String |
getThumbprint()
Get the value of thumbprint.
|
Long |
getTrustBundleId()
Get the value of the trust bundle Id.
|
LocalDateTime |
getValidEndDate()
Get the value of validEndDate.
|
LocalDateTime |
getValidStartDate()
Get the value of validStartDate.
|
void |
setData(byte[] data)
Set the value of anchorData.
|
void |
setId(Long id)
Set the value of id.
|
void |
setThumbprint(String thumbprint)
Set the value of thumbprint.
|
void |
setTrustBundleId(Long trustBundleId)
Set the value of the trust bundle Id.
|
void |
setValidEndDate(LocalDateTime validEndDate)
Set the value of validEndDate.
|
void |
setValidStartDate(LocalDateTime validStartDate)
Set the value of validStartDate.
|
X509Certificate |
toCertificate()
Converts the anchor data to an X509 certificate
|
void |
validate()
Validate the Anchor for the existance of data.
|
public Long getId()
public void setId(Long id)
id - The value of id.public String getThumbprint()
public void setThumbprint(String thumbprint)
thumbprint - The value of thumbprint.public Long getTrustBundleId()
public void setTrustBundleId(Long trustBundleId)
trustBundleId - The value of the trust bundle Id.public byte[] getData()
public void setData(byte[] data)
throws CertificateException
data - The value of anchorData.CertificateExceptionpublic 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 X509Certificate toCertificate() throws CertificateException
CertificateExceptionpublic void validate()
throws CertificateException
CertificateExceptionCopyright © 2020. All rights reserved.