Package org.globus.tools
Class ProxyInfo
- java.lang.Object
-
- org.globus.tools.ProxyInfo
-
public class ProxyInfo extends java.lang.Object
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
Fields Modifier and Type Field Description private static int
IDENTITY
private static int
ISSUER
private static java.lang.String
message
private static int
PATH
private static int
PATH_LENGTH
private static int
STRENGTH
private static int
SUBJECT
private static int
TEXT
private static int
TIME
private static int
TYPE
-
Constructor Summary
Constructors Constructor Description ProxyInfo()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
error(java.lang.String error)
private static java.lang.String
formatTimeSecGlobus(long time)
static void
main(java.lang.String[] args)
-
-
-
Field Detail
-
SUBJECT
private static final int SUBJECT
- See Also:
- Constant Field Values
-
ISSUER
private static final int ISSUER
- See Also:
- Constant Field Values
-
TYPE
private static final int TYPE
- See Also:
- Constant Field Values
-
TIME
private static final int TIME
- See Also:
- Constant Field Values
-
STRENGTH
private static final int STRENGTH
- See Also:
- Constant Field Values
-
TEXT
private static final int TEXT
- See Also:
- Constant Field Values
-
IDENTITY
private static final int IDENTITY
- See Also:
- Constant Field Values
-
PATH
private static final int PATH
- See Also:
- Constant Field Values
-
PATH_LENGTH
private static final int PATH_LENGTH
- See Also:
- Constant Field Values
-
message
private static final java.lang.String message
- See Also:
- Constant Field Values
-
-