|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pkix.PKIXIdentity
org.bouncycastle.pkix.jcajce.JcaPKIXIdentity
Holder class for public/private key based identity information.
Constructor Summary | |
JcaPKIXIdentity(java.security.PrivateKey privKey,
java.security.cert.X509Certificate cert)
Base constructor - a private key and its associated public key certificate. |
|
JcaPKIXIdentity(java.security.PrivateKey privKey,
java.security.cert.X509Certificate[] certs)
Base constructor - a private key and its associated certificate chain. |
Method Summary | |
java.security.PrivateKey |
getPrivateKey()
Return the private key for this identity. |
java.security.cert.X509Certificate |
getX509Certificate()
Return the certificate associated with the private key. |
java.security.cert.X509Certificate[] |
getX509CertificateChain()
Return the certificate chain associated with the private key. |
Methods inherited from class org.bouncycastle.pkix.PKIXIdentity |
getCertificate, getCertificateChain, getPrivateKeyInfo, getRecipientId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JcaPKIXIdentity(java.security.PrivateKey privKey, java.security.cert.X509Certificate[] certs)
privKey
- the private key.certs
- the public key certificates identifying it.public JcaPKIXIdentity(java.security.PrivateKey privKey, java.security.cert.X509Certificate cert)
privKey
- the private key.cert
- privKey's matching public key certificate.Method Detail |
public java.security.PrivateKey getPrivateKey()
public java.security.cert.X509Certificate getX509Certificate()
public java.security.cert.X509Certificate[] getX509CertificateChain()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |