public class JcaPKIXIdentity extends PKIXIdentity
Constructor and Description |
---|
JcaPKIXIdentity(java.security.PrivateKey privKey,
java.security.cert.X509Certificate[] certs) |
Modifier and Type | Method and Description |
---|---|
java.security.PrivateKey |
getPrivateKey()
Return the private key for this identity.
|
java.security.cert.X509Certificate |
getX509Certificate()
Return the certificate associated with the private key.
|
getCertificate, getPrivateKeyInfo, getRecipientId
public JcaPKIXIdentity(java.security.PrivateKey privKey, java.security.cert.X509Certificate[] certs)
public java.security.PrivateKey getPrivateKey()
public java.security.cert.X509Certificate getX509Certificate()