Interface ProxyCertificate

    • Method Detail

      • getCertificateChain

        X509Certificate[] getCertificateChain()
        Returns the certificate chain of the proxy.
        Returns:
        the Certificate chain starting with the generated proxy certificate.
      • getPrivateKey

        PrivateKey getPrivateKey()
                          throws IllegalStateException
        Returns the generated private key of this proxy. If public key was manually set an exception is thrown.
        Returns:
        The private key.
        Throws:
        IllegalStateException - if the private and public keys were not generated
      • getCredential

        X509Credential getCredential()
                              throws IllegalStateException
        Returns the X509Credential wrapping the generated private key and proxy certificate. This method is useful if KeyStore or KeyManager with the newly generated proxy certificate is needed.
        Returns:
        The generated credential wrapped in X509Credential
        Throws:
        IllegalStateException - if the private and public keys were not generated