public class TrillianSecureIM2 extends Object
Constructor and Description |
---|
TrillianSecureIM2(AIMSession sess,
String screenname)
Creates a new Trillian SecureIM.
|
Modifier and Type | Method and Description |
---|---|
void |
end()
End this Trillian SecureIM session.
|
byte[] |
getMyPrivate()
Get the value of myPrivate.
|
byte[] |
getMyPublic()
Get the value of myPublic.
|
byte[] |
getPeerPublic()
Get the value of peerPublic.
|
BigInteger |
getPrime()
Get the value of prime.
|
byte[] |
getSessionKey()
Get the value of sessionKey.
|
void |
handleSecureIM(IncomingIMCH2 args)
Handles a SecureIM packet.
|
void |
sendMsg(String msg)
Send a Trillian SecureIM message.
|
void |
sendRequest()
Send a Trillian SecureIM request.
|
public TrillianSecureIM2(AIMSession sess, String screenname)
sess
- the oscar sessionscreenname
- the screennamepublic void end()
public void sendRequest() throws IOException
IOException
- if an error occurspublic void sendMsg(String msg)
msg
- the messagepublic void handleSecureIM(IncomingIMCH2 args)
args
- the incoming IM CH2 argspublic BigInteger getPrime()
public byte[] getMyPrivate()
public byte[] getMyPublic()
public byte[] getPeerPublic()
public byte[] getSessionKey()