Package com.sshtools.agent.openssh
Class SshAgentKeyList
java.lang.Object
com.sshtools.agent.AgentMessage
com.sshtools.agent.openssh.SshAgentKeyList
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SshAgentKeyList object.SshAgentKeyList
(Map<com.sshtools.common.ssh.components.SshPublicKey, String> keys) Creates a new SshAgentKeyList object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
constructByteArray
(com.sshtools.common.util.ByteArrayWriter baw) void
constructMessage
(com.sshtools.common.util.ByteArrayReader bar) getKeys()
Methods inherited from class com.sshtools.agent.AgentMessage
fromByteArray, getMessageType, toByteArray
-
Constructor Details
-
SshAgentKeyList
Creates a new SshAgentKeyList object.- Parameters:
keys
-
-
SshAgentKeyList
public SshAgentKeyList()Creates a new SshAgentKeyList object.
-
-
Method Details
-
getKeys
- Returns:
-
getMessageName
- Overrides:
getMessageName
in classAgentMessage
- Returns:
-
constructByteArray
public void constructByteArray(com.sshtools.common.util.ByteArrayWriter baw) throws IOException, InvalidMessageException - Overrides:
constructByteArray
in classAgentMessage
- Parameters:
baw
-- Throws:
IOException
com.maverick.agent.exceptions.j2ssh.transport.InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-
constructMessage
public void constructMessage(com.sshtools.common.util.ByteArrayReader bar) throws IOException, InvalidMessageException - Overrides:
constructMessage
in classAgentMessage
- Parameters:
bar
-- Throws:
IOException
com.maverick.agent.exceptions.j2ssh.transport.InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-