com.monica.javacom.ssh
Class MJCSSHTransportPackage

java.lang.Object
  |
  +--com.monica.javacom.ssh.MJCSSHTransportPackage

public class MJCSSHTransportPackage
extends java.lang.Object

Class for providing a common way to pass the unencoded, uncompressed SSH2 transport protocol package between the object in the MJC world.


Field Summary
 java.lang.String mac
          The MAC String at the end of the packet.
 java.math.BigInteger packet_length
          The packet length as BigInteger.
 int packet_length_int
           
 java.math.BigInteger padding_length
          The padding length as BigInteger
 int padding_length_int
          The padding length as int
 java.lang.String payload
          The payload as String.
 java.lang.String random_padding
          The random padding at the end of the packet for making the length of the packet a multiply of 8 or block size of the cipher algorithm, whichever is bigger.
 int sequenceNumber
          Sequence number of this packet in the SSH2 stream.
 
Constructor Summary
MJCSSHTransportPackage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packet_length

public java.math.BigInteger packet_length
The packet length as BigInteger. packet_length=5+payload.length()+padding.length().

packet_length_int

public int packet_length_int

padding_length

public java.math.BigInteger padding_length
The padding length as BigInteger

padding_length_int

public int padding_length_int
The padding length as int

payload

public java.lang.String payload
The payload as String. Contains the core submitted data of the packet.

random_padding

public java.lang.String random_padding
The random padding at the end of the packet for making the length of the packet a multiply of 8 or block size of the cipher algorithm, whichever is bigger.

mac

public java.lang.String mac
The MAC String at the end of the packet.

sequenceNumber

public int sequenceNumber
Sequence number of this packet in the SSH2 stream.
Constructor Detail

MJCSSHTransportPackage

public MJCSSHTransportPackage()