net.kano.joscar.rvcmd.trillcrypt
Class TrillianCryptMsgRvCmd
java.lang.Object
RvCommand
AbstractTrillianCryptRvCmd
TrillianCryptMsgRvCmd
- public class TrillianCryptMsgRvCmd
- extends AbstractTrillianCryptRvCmd
A rendezvous command used to send an encrypted message over a Trillian
Secure IM connection.
Method Summary |
ByteBlock |
getEncryptedMsg()
Returns the encrypted message block sent in this command. |
java.lang.String |
toString()
|
protected void |
writeExtraTlvs(java.io.OutputStream out)
Writes any "extra" TLV's to be sent in this command to the given stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TrillianCryptMsgRvCmd
public TrillianCryptMsgRvCmd(RecvRvIcbm icbm)
- Creates a new Trillian Encrypted message command from the given incoming
encrypted message RV ICBM.
- Parameters:
icbm
- an incoming Trillian Encrypted message RV ICBM command
TrillianCryptMsgRvCmd
public TrillianCryptMsgRvCmd(ByteBlock encryptedMsg)
- Creates a new outgoing Trillian Encrypted message command with the given
encrypted message data.
- Parameters:
encryptedMsg
- the encrypted message data
getEncryptedMsg
public final ByteBlock getEncryptedMsg()
- Returns the encrypted message block sent in this command.
- Returns:
- this command's encrypted message block, or
null
if
none was sent
writeExtraTlvs
protected void writeExtraTlvs(java.io.OutputStream out)
throws java.io.IOException
- Description copied from class:
AbstractTrillianCryptRvCmd
- Writes any "extra" TLV's to be sent in this command to the given stream.
- Specified by:
writeExtraTlvs
in class AbstractTrillianCryptRvCmd
- Parameters:
out
- the stream to which to write
- Throws:
java.io.IOException
toString
public java.lang.String toString()