public class PKIXIdentity
extends java.lang.Object
| Constructor and Description |
|---|
PKIXIdentity(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
X509CertificateHolder[] certificateHolders) |
| Modifier and Type | Method and Description |
|---|---|
X509CertificateHolder |
getCertificate()
Return the certificate associated with the private key info.
|
org.bouncycastle.asn1.pkcs.PrivateKeyInfo |
getPrivateKeyInfo()
Return the private key info for this identity.
|
RecipientId |
getRecipientId()
Return a RecipientId for the identity's (private key, certificate) pair.
|
public PKIXIdentity(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
X509CertificateHolder[] certificateHolders)
public org.bouncycastle.asn1.pkcs.PrivateKeyInfo getPrivateKeyInfo()
public X509CertificateHolder getCertificate()
public RecipientId getRecipientId()