public class ProxyCertificateOptions extends BaseProxyCertificateOptions
ProxyGenerator
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_KEY_LENGTH |
static int |
DEFAULT_LONG_KEY_LENGTH |
static int |
LONG_PROXY |
DEFAULT_KEY_USAGE, DEFAULT_LIFETIME, UNLIMITED_PROXY_LENGTH
Constructor and Description |
---|
ProxyCertificateOptions(X509Certificate[] parentCertChain)
Create a new proxy cert based on the parent cert chain.
|
Modifier and Type | Method and Description |
---|---|
int |
getKeyLength()
Gets the length of the keys to be generated.
|
PublicKey |
getPublicKey()
Returns the manually set public key for the proxy.
|
void |
setKeyLength(int length)
Sets the length of the keys to be generated, only used if the keys
are not set separately.
|
void |
setPublicKey(PublicKey pubKey)
Manually sets public key which shall be included in the generated proxy
|
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
public static final int DEFAULT_KEY_LENGTH
public static final int DEFAULT_LONG_KEY_LENGTH
public static final int LONG_PROXY
public ProxyCertificateOptions(X509Certificate[] parentCertChain)
parentCertChain
- parent certificate chainpublic void setKeyLength(int length)
length
- to be setpublic int getKeyLength()
public void setPublicKey(PublicKey pubKey)
pubKey
- the public key to setpublic PublicKey getPublicKey()
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.