GSIMechanism (Java Globus API)
org.globus.mds.gsi.common
Class GSIMechanism
java.lang.Object
|
+--org.globus.mds.gsi.common.GSIMechanism
- Direct Known Subclasses:
- GSIMech, GSIMech
- public class GSIMechanism
- extends java.lang.Object
|
Method Summary |
protected static byte |
combineMasks(byte[] in)
All the functions below are copied from SaslImpl.java. |
static byte |
findPreferredMask(byte pref,
byte[] in)
|
java.io.InputStream |
getInputStream(java.io.InputStream src)
|
java.lang.String |
getMechanismName()
|
java.io.OutputStream |
getOutputStream(java.io.OutputStream dest)
|
int |
getRecvMaxBufSize()
|
int |
getSendMaxBufSize()
|
protected void |
init(GlobusProxy proxy,
java.lang.String serverName,
java.util.Map props)
|
static void |
intToNetworkByteOrder(int num,
byte[] buf,
int start,
int count)
|
boolean |
isComplete()
|
static int |
networkByteOrderToInt(byte[] buf,
int start,
int count)
|
protected byte[] |
parseProp(java.lang.String propName,
java.lang.String propVal,
java.lang.String[] vals,
byte[] masks,
java.lang.String[] tokens,
boolean ignore)
|
protected byte[] |
parseQop(java.lang.String qop)
|
protected byte[] |
parseQop(java.lang.String qop,
java.lang.String[] saveTokens,
boolean ignore)
|
protected byte[] |
parseStrength(java.lang.String strength)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
debug
public static final boolean debug
- See Also:
- Constant Field Values
NAME2
public static final java.lang.String NAME2
- See Also:
- Constant Field Values
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
MAX_SEND_BUF
public static final java.lang.String MAX_SEND_BUF
- See Also:
- Constant Field Values
MAX_BUFFER
public static final java.lang.String MAX_BUFFER
- See Also:
- Constant Field Values
STRENGTH
public static final java.lang.String STRENGTH
- See Also:
- Constant Field Values
QOP
public static final java.lang.String QOP
- See Also:
- Constant Field Values
PROXY
public static final java.lang.String PROXY
- See Also:
- Constant Field Values
NO_PROTECTION
protected static final byte NO_PROTECTION
- See Also:
- Constant Field Values
INTEGRITY_ONLY_PROTECTION
protected static final byte INTEGRITY_ONLY_PROTECTION
- See Also:
- Constant Field Values
PRIVACY_PROTECTION
protected static final byte PRIVACY_PROTECTION
- See Also:
- Constant Field Values
LOW_STRENGTH
protected static final byte LOW_STRENGTH
- See Also:
- Constant Field Values
MEDIUM_STRENGTH
protected static final byte MEDIUM_STRENGTH
- See Also:
- Constant Field Values
HIGH_STRENGTH
protected static final byte HIGH_STRENGTH
- See Also:
- Constant Field Values
myOut
protected MyOutputStream myOut
myIn
protected MyInputStream myIn
sslThread
protected SSLThread sslThread
completed
protected boolean completed
qop
protected byte[] qop
allQop
protected byte allQop
strength
protected byte[] strength
sendMaxBufSize
protected int sendMaxBufSize
recvMaxBufSize
protected int recvMaxBufSize
GSIMechanism
public GSIMechanism()
getSendMaxBufSize
public int getSendMaxBufSize()
getRecvMaxBufSize
public int getRecvMaxBufSize()
getMechanismName
public java.lang.String getMechanismName()
isComplete
public boolean isComplete()
getOutputStream
public java.io.OutputStream getOutputStream(java.io.OutputStream dest)
throws java.io.IOException
java.io.IOException
getInputStream
public java.io.InputStream getInputStream(java.io.InputStream src)
throws java.io.IOException
java.io.IOException
init
protected void init(GlobusProxy proxy,
java.lang.String serverName,
java.util.Map props)
throws java.lang.Exception
java.lang.Exception
combineMasks
protected static byte combineMasks(byte[] in)
- All the functions below are copied from SaslImpl.java.
It's part of the J2SE1.4 source code.
parseQop
protected byte[] parseQop(java.lang.String qop)
throws java.lang.Exception
java.lang.Exception
parseQop
protected byte[] parseQop(java.lang.String qop,
java.lang.String[] saveTokens,
boolean ignore)
throws java.lang.Exception
java.lang.Exception
parseStrength
protected byte[] parseStrength(java.lang.String strength)
throws java.lang.Exception
java.lang.Exception
parseProp
protected byte[] parseProp(java.lang.String propName,
java.lang.String propVal,
java.lang.String[] vals,
byte[] masks,
java.lang.String[] tokens,
boolean ignore)
throws java.lang.Exception
java.lang.Exception
findPreferredMask
public static byte findPreferredMask(byte pref,
byte[] in)
intToNetworkByteOrder
public static void intToNetworkByteOrder(int num,
byte[] buf,
int start,
int count)
networkByteOrderToInt
public static int networkByteOrderToInt(byte[] buf,
int start,
int count)