Class ProxyRequestOptions


  • public class ProxyRequestOptions
    extends BaseProxyCertificateOptions
    Holds parameters which are used to issue a proxy certificate using a provided Certificate Signing Request and a local certificate chain. Used for example when creating a proxy certificate on the client side from a certificate request coming from a service.
    Author:
    K. Benedyczak
    • Constructor Detail

      • ProxyRequestOptions

        public ProxyRequestOptions​(java.security.cert.X509Certificate[] parentCertChain,
                                   org.bouncycastle.pkcs.PKCS10CertificationRequest certReq)
                            throws java.security.InvalidKeyException,
                                   java.security.NoSuchAlgorithmException,
                                   java.security.NoSuchProviderException
        Create a new proxy certificate based on certification request and a certificate chain. Used for example when creating a proxy certificate on the client side from certificate request coming from a service.
        Parameters:
        parentCertChain - parent certificate chain
        certReq - certificate request
        Throws:
        java.security.InvalidKeyException - invalid key exception
        java.security.NoSuchAlgorithmException - no such algorithm exception
        java.security.NoSuchProviderException - no such provider exception
    • Method Detail

      • getProxyRequest

        public org.bouncycastle.pkcs.PKCS10CertificationRequest getProxyRequest()
        Returns:
        the Certification Request that was used to create this object