diff options
Diffstat (limited to 'lib/src/main/java/com/trilead/ssh2/packets/PacketChannelAuthAgentReq.java')
-rw-r--r-- | lib/src/main/java/com/trilead/ssh2/packets/PacketChannelAuthAgentReq.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/lib/src/main/java/com/trilead/ssh2/packets/PacketChannelAuthAgentReq.java b/lib/src/main/java/com/trilead/ssh2/packets/PacketChannelAuthAgentReq.java deleted file mode 100644 index 95fa396..0000000 --- a/lib/src/main/java/com/trilead/ssh2/packets/PacketChannelAuthAgentReq.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.trilead.ssh2.packets; - -/** - * PacketGlobalAuthAgent. - * - * @author Kenny Root, kenny@the-b.org - * @version $Id$ - */ -public class PacketChannelAuthAgentReq -{ - byte[] payload; - - public int recipientChannelID; - - public PacketChannelAuthAgentReq(int recipientChannelID) - { - this.recipientChannelID = recipientChannelID; - } - - public byte[] getPayload() - { - if (payload == null) - { - TypesWriter tw = new TypesWriter(); - tw.writeByte(Packets.SSH_MSG_CHANNEL_REQUEST); - tw.writeUINT32(recipientChannelID); - tw.writeString("auth-agent-req@openssh.com"); - tw.writeBoolean(true); // want reply - payload = tw.getBytes(); - } - return payload; - } -} |