com.mindbright.ssh
public final class SSHPduOutputStream extends SSHDataOutputStream implements SSHPdu
Modifier and Type | Class and Description |
---|---|
static class |
SSHPduOutputStream.PduByteArrayOutputStream |
Modifier and Type | Field and Description |
---|---|
SSHCipher |
cipher |
SSHCompressor |
compressor |
static int |
mtu |
SecureRandomAndPad |
rand |
static int |
SSH_DEFAULT_PKT_LEN |
int |
type |
Modifier and Type | Method and Description |
---|---|
SSHPdu |
createPdu() |
SSHPduOutputStream.PduByteArrayOutputStream |
getOut() |
void |
rawAdjustSize(int size) |
byte[] |
rawData() |
int |
rawOffset() |
void |
rawSetData(byte[] raw) |
int |
rawSize() |
void |
readFrom(java.io.InputStream in) |
static void |
setMTU(int newMtu) |
void |
writeTo(NonBlockingOutput sshOut) |
void |
writeTo(java.io.OutputStream sshOut) |
writeBigInteger, writeString
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public static final int SSH_DEFAULT_PKT_LEN
public static int mtu
public int type
public SSHCipher cipher
public SSHCompressor compressor
public SecureRandomAndPad rand
public static void setMTU(int newMtu)
public SSHPdu createPdu() throws java.io.IOException
public void readFrom(java.io.InputStream in) throws java.io.IOException
public void writeTo(NonBlockingOutput sshOut) throws java.io.IOException
public void writeTo(java.io.OutputStream sshOut) throws java.io.IOException
public SSHPduOutputStream.PduByteArrayOutputStream getOut()
public void rawSetData(byte[] raw)
rawSetData
in interface SSHPdu
public void rawAdjustSize(int size)
rawAdjustSize
in interface SSHPdu