eu.emi.security.authn.x509.proxy
Class ProxyRequestOptions

java.lang.Object
  extended by eu.emi.security.authn.x509.proxy.BaseProxyCertificateOptions
      extended by eu.emi.security.authn.x509.proxy.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

Field Summary
 
Fields inherited from class eu.emi.security.authn.x509.proxy.BaseProxyCertificateOptions
DEFAULT_LIFETIME
 
Constructor Summary
ProxyRequestOptions(X509Certificate[] parentCertChain, PKCS10CertificationRequest certReq)
          Create a new proxy certificate based on certification request and a certificate chain.
 
Method Summary
 PKCS10CertificationRequest getProxyRequest()
           
 
Methods inherited from class eu.emi.security.authn.x509.proxy.BaseProxyCertificateOptions
addExtension, getAttributeCertificates, getExtensions, getLifetime, getNotBefore, getParentCertChain, getPolicy, getProxyPathLimit, getProxyTracingIssuer, getProxyTracingSubject, getSAMLAssertion, getSerialNumber, getSourceRestrictionExcludedAddresses, getSourceRestrictionPermittedAddresses, getTargetRestrictionExcludedAddresses, getTargetRestrictionPermittedAddresses, getType, isLimited, setAttributeCertificates, setLifetime, setLifetime, setLimited, setPolicy, setProxyPathLimit, setProxyTracingIssuer, setProxyTracingSubject, setSAMLAssertion, setSerialNumber, setSourceRestrictionExcludedAddresses, setSourceRestrictionExcludedAddresses, setSourceRestrictionPermittedAddresses, setSourceRestrictionPermittedAddresses, setTargetRestrictionExcludedAddresses, setTargetRestrictionExcludedAddresses, setTargetRestrictionPermittedAddresses, setTargetRestrictionPermittedAddresses, setType, setValidityBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyRequestOptions

public ProxyRequestOptions(X509Certificate[] parentCertChain,
                           PKCS10CertificationRequest certReq)
                    throws InvalidKeyException,
                           NoSuchAlgorithmException,
                           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.

Throws:
InvalidKeyException
NoSuchAlgorithmException
NoSuchProviderException
Method Detail

getProxyRequest

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


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.