Class ProxyInfo
java.lang.Object
org.globus.tools.ProxyInfo
Retruns information about the proxy.
Syntax: java ProxyInfo [options]
java ProxyInfo -help
Options
-help | -usage
Displays usage
-f <proxyfile> | -file <proxyfile>
Non-standard location of proxy
[printoptions]
Prints information about proxy
-exists [options] | -e [options]
Returns 0 if valid proxy exists, 1 otherwise
-globus
Prints information in globus format
[printoptions]
-subject Distinguished name (DN) of subject
-issuer DN of issuer (certificate signer)
-type Type of proxy (full or limited)
-timeleft Time (in seconds) until proxy expires
-strength Key size (in bits)
-all All above options in a human readable format
"
[options to -exists] (if none are given, H = B = 0 are assumed)
-hours H (-h) time requirement for proxy to be valid
-bits B (-b) strength requirement for proxy to be valid
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final Stringprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SUBJECT
private static final int SUBJECT- See Also:
-
ISSUER
private static final int ISSUER- See Also:
-
TYPE
private static final int TYPE- See Also:
-
TIME
private static final int TIME- See Also:
-
STRENGTH
private static final int STRENGTH- See Also:
-
TEXT
private static final int TEXT- See Also:
-
IDENTITY
private static final int IDENTITY- See Also:
-
PATH
private static final int PATH- See Also:
-
PATH_LENGTH
private static final int PATH_LENGTH- See Also:
-
message
- See Also:
-
-
Constructor Details
-
ProxyInfo
public ProxyInfo()
-
-
Method Details
-
main
-
error
-
formatTimeSecGlobus
-