public abstract class Identity
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Identity.Format
An digital identity format.
|
| Modifier and Type | Field and Description |
|---|---|
protected Name |
m_idenityName |
protected Name |
m_identityIssuer |
protected boolean |
m_unverifiedIdentity |
| Constructor and Description |
|---|
Identity() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.Collection<? extends CertificateAndKeyInfo> |
getCertificateAndKeyInfo()
Returns an unmodifiable collection of
CapiCertificateAndKeyInfos |
X509Certificate[] |
getChainToRoot() |
abstract ContainerName |
getContainerName()
Returns a key container name associated with this identity.
|
Name |
getDistinguishedIssuerName()
Returns the distinguished name of the issuer of this Identity
This is the issuer name of the newest certificate associated
with this identity.
|
Name |
getDistinguishedName()
Returns the distinguished name of this identity.
|
abstract Identity.Format |
getFormat()
Returns the digital identity format.
|
java.lang.String |
getIssuerName()
Returns the name of the issuer of this identity.
|
java.lang.String |
getName()
Returns the name of this identity.
|
boolean |
isUnverifiedIdentity() |
void |
setChainToRoot(X509Certificate[] chainToRoot)
This method is for injecting the chainToRoot into the CapiIdentity.
|
protected Name m_idenityName
protected boolean m_unverifiedIdentity
protected Name m_identityIssuer
public java.lang.String getName()
getDistinguishedName().toString().Stringpublic java.lang.String getIssuerName()
getDistinguishedIssuerName().toString().Stringpublic Name getDistinguishedName()
public Name getDistinguishedIssuerName()
public abstract ContainerName getContainerName()
public boolean isUnverifiedIdentity()
public void setChainToRoot(X509Certificate[] chainToRoot)
chainToRoot - The chain of CA certificates to the self-signed rootpublic X509Certificate[] getChainToRoot()
public abstract Identity.Format getFormat()
public abstract java.util.Collection<? extends CertificateAndKeyInfo> getCertificateAndKeyInfo()
CapiCertificateAndKeyInfosCapiCertificateAndKeyInfos