|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.store.Certificate
@Entity public class Certificate
| Nested Class Summary | |
|---|---|
static class |
Certificate.CertContainer
|
| Field Summary | |
|---|---|
static byte[] |
NULL_CERT
|
| Constructor Summary | |
|---|---|
Certificate()
|
|
| Method Summary | |
|---|---|
void |
clearData()
Clear the data of a Certificate. |
Calendar |
getCreateTime()
Get the value of createTime. |
byte[] |
getData()
Get the value of data. |
long |
getId()
Get the value of id. |
static String |
getJCEProviderName()
Gets the configured JCE crypto provider string for crypto operations. |
String |
getOwner()
Get the value of owner. |
EntityStatus |
getStatus()
Get the value of status. |
String |
getThumbprint()
Get the value of thumbprint. |
Calendar |
getValidEndDate()
Get the value of validEndDate. |
Calendar |
getValidStartDate()
Get the value of validStartDate. |
boolean |
isPrivateKey()
Indicates if the certificate has a private key |
void |
setCreateTime(Calendar timestamp)
Set the value of createTime. |
void |
setData(byte[] data)
Set the value of data. |
void |
setId(long id)
Set the value of id. |
static void |
setJCEProviderName(String name)
Overrides the configured JCE crypto provider string. |
void |
setOwner(String owner)
Set the value of owner. |
void |
setPrivateKey(boolean b)
Indicates if the certificate has a private key |
void |
setStatus(EntityStatus status)
Set the value of status. |
void |
setValidEndDate(Calendar validEndDate)
Set the value of validEndDate. |
void |
setValidStartDate(Calendar validStartDate)
Set the value of validStartDate. |
Certificate.CertContainer |
toCredential()
|
void |
validate()
Validate the Certificate for the existance of data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final byte[] NULL_CERT
| Constructor Detail |
|---|
public Certificate()
| Method Detail |
|---|
public static String getJCEProviderName()
public static void setJCEProviderName(String name)
name - The name of the JCE provider.public String getOwner()
public void setOwner(String owner)
owner - The value of owner.public byte[] getData()
public void setData(byte[] data)
throws CertificateException
data - The value of data.
CertificateExceptionpublic boolean isPrivateKey()
public void setPrivateKey(boolean b)
throws CertificateException
data -
CertificateExceptionpublic String getThumbprint()
public long getId()
public void setId(long id)
id - The value of id.public Calendar getCreateTime()
public void setCreateTime(Calendar timestamp)
timestamp - The value of createTime.public EntityStatus getStatus()
public void setStatus(EntityStatus status)
status - The value of status.public Calendar getValidStartDate()
public void setValidStartDate(Calendar validStartDate)
validStartDate - The value of validStartDate.public Calendar getValidEndDate()
public void setValidEndDate(Calendar validEndDate)
validEndDate - The value of validEndDate.
public void validate()
throws CertificateException
CertificateExceptionpublic void clearData()
public Certificate.CertContainer toCredential()
throws CertificateException
CertificateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||