Interface X509Identity

All Superinterfaces:
Identity

public interface X509Identity extends Identity
Identity comprising an X.509 certificate and associated private key. Instances are created using Identities.newX509Identity(String, X509Certificate, PrivateKey).
  • Method Details

    • getCertificate

      X509Certificate getCertificate()
      Get the certificate for this identity.
      Returns:
      An X.509 certificate.
    • getPrivateKey

      PrivateKey getPrivateKey()
      Get the private key for this identity.
      Returns:
      A private key.