Class JcaPKIXIdentity


  • public class JcaPKIXIdentity
    extends PKIXIdentity
    Holder class for public/private key based identity information.
    • Constructor Summary

      Constructors 
      Constructor Description
      JcaPKIXIdentity​(java.security.PrivateKey privKey, java.security.cert.X509Certificate[] certs)  
    • Constructor Detail

      • JcaPKIXIdentity

        public JcaPKIXIdentity​(java.security.PrivateKey privKey,
                               java.security.cert.X509Certificate[] certs)
    • Method Detail

      • getPrivateKey

        public java.security.PrivateKey getPrivateKey()
        Return the private key for this identity.
        Returns:
        the identity's private key.
      • getX509Certificate

        public java.security.cert.X509Certificate getX509Certificate()
        Return the certificate associated with the private key.
        Returns:
        the primary certificate.