public class SessionSetupInfo
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
boolean |
authenticated |
|
boolean |
encrypted |
|
byte[] |
exchangeKeyHandle |
|
int |
exchangeKeyIndex |
|
int |
keyExchangeMode |
|
java.security.PrivateKey |
privateExchangeKey |
|
byte[] |
publicExchangeKey |
|
int |
timeout |
Constructor | Description |
---|---|
SessionSetupInfo() |
|
SessionSetupInfo(byte[] exchangeHandle,
int exchangeIndex,
java.security.PrivateKey privateKey) |
|
SessionSetupInfo(int mode) |
|
SessionSetupInfo(int mode,
byte[] exchangekey,
java.security.PrivateKey privateKey) |
|
SessionSetupInfo(int mode,
java.security.PublicKey exchangekey,
java.security.PrivateKey privateKey) |
|
SessionSetupInfo(java.lang.String exchangeHandle,
int exchangeIndex,
java.security.PrivateKey privateKey) |
|
SessionSetupInfo(AuthenticationInfo authInfo) |
Deprecated.
Use
new SessionSetupInfo() instead. |
Modifier and Type | Method | Description |
---|---|---|
void |
initDHKeys() |
|
void |
reset() |
|
java.lang.String |
toString() |
public int keyExchangeMode
public byte[] exchangeKeyHandle
public int exchangeKeyIndex
public byte[] publicExchangeKey
public java.security.PrivateKey privateExchangeKey
public int timeout
public boolean encrypted
public boolean authenticated
public SessionSetupInfo(byte[] exchangeHandle, int exchangeIndex, java.security.PrivateKey privateKey)
public SessionSetupInfo(java.lang.String exchangeHandle, int exchangeIndex, java.security.PrivateKey privateKey)
@Deprecated public SessionSetupInfo(AuthenticationInfo authInfo)
new SessionSetupInfo()
instead.authInfo
- ignoredpublic SessionSetupInfo()
public SessionSetupInfo(int mode, byte[] exchangekey, java.security.PrivateKey privateKey)
public SessionSetupInfo(int mode, java.security.PublicKey exchangekey, java.security.PrivateKey privateKey) throws java.lang.Exception
java.lang.Exception
public SessionSetupInfo(int mode)
public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
public void initDHKeys() throws HandleException
HandleException