public class CertificateAndKeyInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
m_archived
The cached value of the Archived flag
|
protected byte[] |
m_certDefinitionPolicyCert
The cached value of the Certificate Definition Policy certificate
|
protected X509Certificate |
m_certificate
The end user certificate.
|
protected java.lang.Integer |
m_certPubPending
The cached value of the certificate publication pending property
|
protected java.util.List<X509Certificate> |
m_chainToRoot
The CA certificate chain for the end user certificate; excludes the end
user certificate.
|
protected ContainerName |
m_containerName
The name of the key container in which the end user private key is stored
|
protected EntrustEventIdentifier |
m_eventIdentifier
The cached value of the Entrust event Identifier
|
protected java.lang.Byte |
m_eventIndicator
The cached value of the event Indicator
|
protected java.lang.String |
m_friendlyName
The cached value of the Friendly Name
|
protected byte[] |
m_policyCert
The cached value of the certificate property.
|
protected byte[] |
m_userRoleId
The cached value of the user Role ID
|
| Constructor and Description |
|---|
CertificateAndKeyInfo() |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
getCertificate()
Returns the certificate associated with this object
|
java.util.List<X509Certificate> |
getChainToRoot()
Returns a
List of X509Certificate objects that
form a chain from the certificate up to a trusted root. |
ContainerName |
getContainerName()
Returns the private key container name associated with this object.
|
protected EntrustEventIdentifier |
getEventIdentifier()
Gets the cached value of the certificate property nkeypair event identifier
certificate property.
|
protected java.lang.Byte |
getEventIndicator()
Gets the cached value of the event indicator
certificate property.
|
protected java.lang.String |
getFriendlyName()
Gets the cached value of the friendly Name certificate property.
|
boolean |
isArchived()
Returns whether or not the certificate is archived.
|
protected void |
setChainToRoot(java.util.List<X509Certificate> list)
Sets the chain to the root.
|
protected static java.lang.String |
toMessageString(X509Certificate cert)
Creates a string identifier for a certificate intended for use in
exception messages and log messages ; contains the issuer DN, subject DN,
and serial number.
|
protected X509Certificate m_certificate
protected java.util.List<X509Certificate> m_chainToRoot
protected ContainerName m_containerName
protected java.lang.String m_friendlyName
protected java.lang.Boolean m_archived
protected byte[] m_policyCert
protected java.lang.Integer m_certPubPending
protected byte[] m_certDefinitionPolicyCert
protected EntrustEventIdentifier m_eventIdentifier
protected java.lang.Byte m_eventIndicator
protected byte[] m_userRoleId
protected static java.lang.String toMessageString(X509Certificate cert)
cert - an X.509 certificatepublic X509Certificate getCertificate()
public java.util.List<X509Certificate> getChainToRoot()
List of X509Certificate objects that
form a chain from the certificate up to a trusted root. The certificates
are ordered from the target certificate at the start of the list to the
root at the end.List of X509Certificate objects that
form a chain from the certificate up to a trusted root.public ContainerName getContainerName()
public boolean isArchived()
true if the certificate has been marked as archived
or false otherwise.protected java.lang.String getFriendlyName()
null if the certificate property was not set or is
invalidprotected EntrustEventIdentifier getEventIdentifier()
null if the certificate property was not
set or is invalidprotected java.lang.Byte getEventIndicator()
null if the certificate property was not
set or is invalidprotected void setChainToRoot(java.util.List<X509Certificate> list)
list - a List of X509Certificate objects
that form a chain from the certificate to a trusted root.