|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.pkix.PKIXIdentity
Holder class for public/private key based identity information.
| Constructor Summary | |
PKIXIdentity(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
X509CertificateHolder certHolder)
Base constructor - a private key and its associated public key certificate. |
|
PKIXIdentity(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
X509CertificateHolder[] certificateHolders)
Base constructor - a private key and its associated certificate chain. |
|
| Method Summary | |
X509CertificateHolder |
getCertificate()
Return the certificate associated with the private key info. |
X509CertificateHolder[] |
getCertificateChain()
Return the certificate chain 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PKIXIdentity(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
X509CertificateHolder[] certificateHolders)
privateKeyInfo - the private key.certificateHolders - the public key certificates identifying it.
public PKIXIdentity(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo,
X509CertificateHolder certHolder)
privateKeyInfo - the private key.certHolder - privKey's matching public key certificate.| Method Detail |
public org.bouncycastle.asn1.pkcs.PrivateKeyInfo getPrivateKeyInfo()
public X509CertificateHolder getCertificate()
public X509CertificateHolder[] getCertificateChain()
public RecipientId getRecipientId()
|
Bouncy Castle Cryptography Library 1.84 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||