public class CapiIdentity extends Identity
This class cannot be instantiated directly. An instance can only be obtained by
calling the method CapiIdentities.findIdentities(), and iterating
over the result.
A CapiIdentity is formed by grouping together certificates which belong to the same identity in the Certification Authority. The matching of certificates to an identity is done by private key container name, which have specific naming rules.
CapiIdentitiesIdentity.Formatm_idenityName, m_identityIssuer, m_unverifiedIdentity| Modifier and Type | Method and Description |
|---|---|
protected void |
addCertificateAndKeyInfo(CertificateAndKeyInfo certAndKeyInfo)
Adds the given certificate and key information to the current identity.
|
java.util.Collection<CapiCertificateAndKeyInfo> |
getCertificateAndKeyInfo()
Returns an unmodifiable collection of
CapiCertificateAndKeyInfos |
CapiContainerName |
getContainerName()
Returns a key container name associated with this identity.
|
Identity.Format |
getFormat()
Returns the digital identity format.
|
getChainToRoot, getDistinguishedIssuerName, getDistinguishedName, getIssuerName, getName, isUnverifiedIdentity, setChainToRootprotected void addCertificateAndKeyInfo(CertificateAndKeyInfo certAndKeyInfo)
certAndKeyInfo - the certificate and key information to add.public java.util.Collection<CapiCertificateAndKeyInfo> getCertificateAndKeyInfo()
CapiCertificateAndKeyInfosgetCertificateAndKeyInfo in class IdentityCapiCertificateAndKeyInfospublic CapiContainerName getContainerName()
getContainerName in class Identitypublic Identity.Format getFormat()