Package eu.emi.security.authn.x509.proxy
Class ProxyRequestOptions
java.lang.Object
eu.emi.security.authn.x509.proxy.BaseProxyCertificateOptions
eu.emi.security.authn.x509.proxy.ProxyRequestOptions
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_KEY_USAGE, DEFAULT_LIFETIME, UNLIMITED_PROXY_LENGTH
-
Constructor Summary
ConstructorsConstructorDescriptionProxyRequestOptions
(X509Certificate[] parentCertChain, org.bouncycastle.pkcs.PKCS10CertificationRequest certReq) Create a new proxy certificate based on certification request and a certificate chain. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.pkcs.PKCS10CertificationRequest
Methods inherited from class eu.emi.security.authn.x509.proxy.BaseProxyCertificateOptions
addExtension, getAttributeCertificates, getExtensions, getLifetime, getNotBefore, getParentCertChain, getPolicy, getProxyKeyUsageMask, getProxyPathLimit, getProxyTracingIssuer, getProxyTracingSubject, getSAMLAssertion, getSerialNumber, getSourceRestrictionExcludedAddresses, getSourceRestrictionPermittedAddresses, getTargetRestrictionExcludedAddresses, getTargetRestrictionPermittedAddresses, getType, isLimited, setAttributeCertificates, setLifetime, setLifetime, setLimited, setPolicy, setProxyKeyUsageMask, setProxyPathLimit, setProxyTracingIssuer, setProxyTracingSubject, setSAMLAssertion, setSerialNumber, setSourceRestrictionExcludedAddresses, setSourceRestrictionExcludedAddresses, setSourceRestrictionPermittedAddresses, setSourceRestrictionPermittedAddresses, setTargetRestrictionExcludedAddresses, setTargetRestrictionExcludedAddresses, setTargetRestrictionPermittedAddresses, setTargetRestrictionPermittedAddresses, setType, setValidityBounds
-
Constructor Details
-
ProxyRequestOptions
public ProxyRequestOptions(X509Certificate[] parentCertChain, org.bouncycastle.pkcs.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.- Parameters:
parentCertChain
- parent certificate chaincertReq
- certificate request- Throws:
InvalidKeyException
- invalid key exceptionNoSuchAlgorithmException
- no such algorithm exceptionNoSuchProviderException
- no such provider exception
-
-
Method Details
-
getProxyRequest
public org.bouncycastle.pkcs.PKCS10CertificationRequest getProxyRequest()- Returns:
- the Certification Request that was used to create this object
-