org.globus.tools
Class ProxyInit
java.lang.Object
org.globus.tools.ProxyInit
public abstract class ProxyInit
- extends java.lang.Object
Initializes/creates a new globus proxy. This is a command-line tool. Please
do not use it as a library.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GENERIC_POLICY_OID
public static final java.lang.String GENERIC_POLICY_OID
- See Also:
- Constant Field Values
certificates
protected java.security.cert.X509Certificate[] certificates
bits
protected int bits
lifetime
protected int lifetime
proxyCertInfo
protected ProxyCertInfo proxyCertInfo
proxyType
protected GSIConstants.CertificateType proxyType
quiet
protected boolean quiet
debug
protected boolean debug
stdin
protected boolean stdin
proxy
protected GlobusCredential proxy
ProxyInit
public ProxyInit()
init
public abstract void init(java.lang.String[] args)
loadCertificates
public abstract void loadCertificates(java.lang.String args)
loadKey
public abstract void loadKey(java.lang.String arg)
sign
public abstract void sign()
getCertificate
public java.security.cert.X509Certificate getCertificate()
dispose
public void dispose()
verify
public void verify()
throws java.lang.Exception
- Throws:
java.lang.Exception
setBits
public void setBits(int bits)
setLifetime
public void setLifetime(int lifetime)
setProxyType
public void setProxyType(int proxyType)
- Deprecated.
- Parameters:
proxyType
-
setProxyType
public void setProxyType(GSIConstants.CertificateType proxyType)
setProxyCertInfo
public void setProxyCertInfo(ProxyCertInfo proxyCertInfo)
setDebug
public void setDebug(boolean debug)
setQuiet
public void setQuiet(boolean quiet)
setStdin
public void setStdin(boolean stdin)
createProxy
public void createProxy(java.lang.String cert,
java.lang.String key,
boolean verify,
boolean globusStyle,
java.lang.String proxyFile)
main
public static void main(java.lang.String[] args)
error
protected static void error(java.lang.String error)
Copyright © 2013. All Rights Reserved.