| Modifier and Type | Field and Description |
|---|---|
| private final X509Certificate[] | |
| private final PrivateKey |
| Access | Constructor and Description |
|---|---|
| public | JcaPKIXIdentity(PrivateKey
the private key. privKey, X509Certificate[] the public key certificates identifying it. certs)Base constructor - a private key and its associated certificate chain. |
| public | JcaPKIXIdentity(PrivateKey
the private key. privKey, X509Certificate privKey's matching public key certificate. cert)Base constructor - a private key and its associated public key certificate. |
| Modifier and Type | Method and Description |
|---|---|
| private static X509CertificateHolder[] | |
| public PrivateKey | |
| private static PrivateKeyInfo | |
| public X509Certificate | Returns: the primary certificate.Return the certificate associated with the private key. |
| public X509Certificate[] | Returns: the certificate chain.Return the certificate chain associated with the private key. |
| certs | back to summary |
|---|---|
| private final X509Certificate[] certs | |
| privKey | back to summary |
|---|---|
| private final PrivateKey privKey | |
| JcaPKIXIdentity | back to summary |
|---|---|
| public JcaPKIXIdentity(PrivateKey privKey, X509Certificate[] certs) Base constructor - a private key and its associated certificate chain. The chain should be ordered so that certs[0] is the matching public key for privKey.
| |
| JcaPKIXIdentity | back to summary |
|---|---|
| public JcaPKIXIdentity(PrivateKey privKey, X509Certificate cert) Base constructor - a private key and its associated public key certificate.
| |
| getCertificates | back to summary |
|---|---|
| private static X509CertificateHolder[] getCertificates(X509Certificate[] certs) | |
| getPrivateKey | back to summary |
|---|---|
| public PrivateKey getPrivateKey() Return the private key for this identity.
| |
| getPrivateKeyInfo | back to summary |
|---|---|
| private static PrivateKeyInfo getPrivateKeyInfo(PrivateKey privateKey) | |
| getX509Certificate | back to summary |
|---|---|
| public X509Certificate getX509Certificate() Return the certificate associated with the private key.
| |
| getX509CertificateChain | back to summary |
|---|---|
| public X509Certificate[] getX509CertificateChain() Return the certificate chain associated with the private key.
| |