|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.emi.security.authn.x509.proxy.BaseProxyCertificateOptions
eu.emi.security.authn.x509.proxy.ProxyCertificateOptions
public class ProxyCertificateOptions
Holds parameters which are used to create a proxy certificate using only a certificate chain.
ProxyGenerator
Field Summary | |
---|---|
static int |
DEFAULT_KEY_LENGTH
|
static int |
DEFAULT_LONG_KEY_LENGTH
|
static int |
LONG_PROXY
|
Fields inherited from class eu.emi.security.authn.x509.proxy.BaseProxyCertificateOptions |
---|
DEFAULT_LIFETIME |
Constructor Summary | |
---|---|
ProxyCertificateOptions(X509Certificate[] parentCertChain)
Create a new proxy cert based on the parent cert chain. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_KEY_LENGTH
public static final int DEFAULT_LONG_KEY_LENGTH
public static final int LONG_PROXY
Constructor Detail |
---|
public ProxyCertificateOptions(X509Certificate[] parentCertChain)
Method Detail |
---|
public void setKeyLength(int length)
length
- to be setpublic int getKeyLength()
public void setPublicKey(PublicKey pubKey)
pubKey
- the public key to setpublic PublicKey getPublicKey()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |