|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.model.Anchor
public class Anchor
A trust anchor used for discerning trust of an end entity certificates.
| Constructor Summary | |
|---|---|
Anchor()
Empty constructor. |
|
| Method Summary | |
|---|---|
X509Certificate |
getAnchorAsX509Certificate()
|
byte[] |
getCertificateData()
Gets the DER encoded data of the anchor. |
long |
getCertificateId()
Gets the internal id of the anchor. |
Calendar |
getCreateTime()
Gets the date/time that the anchor was added to the system. |
long |
getId()
Gets the internal id of the anchor. |
String |
getOwner()
Gets the owner of the anchor. |
EntityStatus |
getStatus()
Gets the status of the anchor. |
String |
getThumbprint()
Gets the thumbprint of the anchor. |
Calendar |
getValidEndDate()
Gets the valid until date/time of the anchor. |
Calendar |
getValidStartDate()
Gets the valid from date/time of the anchor. |
boolean |
isIncoming()
Determines if the anchor is valid for incoming messages. |
boolean |
isOutgoing()
Determines if the anchor is valid for outgoing messages. |
void |
setCertificateData(byte[] certificateData)
Sets the DER encoded data of the anchor. |
void |
setCertificateId(long certificateId)
Sets the internal id of the anchor. |
void |
setCreateTime(Calendar createTime)
Sets the date/time that the anchor was added to the system. |
void |
setId(long id)
Sets the internal id of the anchor. |
void |
setIncoming(boolean incoming)
Sets if the anchor is valid for incoming messages. |
void |
setOutgoing(boolean outgoing)
Sets if the outgoing is valid for outgoing messages. |
void |
setOwner(String owner)
Sets the owner of the anchor. |
void |
setStatus(EntityStatus status)
Sets the status of the anchor. |
void |
setThumbprint(String thumbprint)
Sets the thumbprint of the anchor. |
void |
setValidEndDate(Calendar validEndDate)
Sets the valid until date/time of the anchor. |
void |
setValidStartDate(Calendar validStartDate)
Sets the valid from date/time of the anchor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Anchor()
| Method Detail |
|---|
public String getOwner()
public void setOwner(String owner)
owner - The owner of the anchor.public String getThumbprint()
public void setThumbprint(String thumbprint)
thumbprint - The thumbprint of the anchor.public long getCertificateId()
public void setCertificateId(long certificateId)
certificateId - The internal id of the anchor.public byte[] getCertificateData()
public void setCertificateData(byte[] certificateData)
certificateData - The DER encoded data of the anchor.public long getId()
public void setId(long id)
certificateId - The internal id of the anchor.public Calendar getCreateTime()
public void setCreateTime(Calendar createTime)
createTime - The date/time that the anchor was added to the system.public Calendar getValidStartDate()
public void setValidStartDate(Calendar validStartDate)
validStartDate - The valid from date/time of the anchor.public Calendar getValidEndDate()
public void setValidEndDate(Calendar validEndDate)
validEndDate - The valid until date/time of the anchor.public EntityStatus getStatus()
public void setStatus(EntityStatus status)
status - The status of the anchor.public boolean isIncoming()
public void setIncoming(boolean incoming)
incoming - True if the anchor can be use for incoming messages; false otherwise.public boolean isOutgoing()
public void setOutgoing(boolean outgoing)
outgoing - True if the anchor can be use for outgoing messages; false otherwise.public X509Certificate getAnchorAsX509Certificate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||