Package com.sshtools.agent.rfc
Class SshAgentRandomData
java.lang.Object
com.sshtools.agent.AgentMessage
com.sshtools.agent.rfc.SshAgentRandomData
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SshAgentRandomData object.SshAgentRandomData
(byte[] data) Creates a new SshAgentRandomData object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
constructByteArray
(com.sshtools.common.util.ByteArrayWriter baw) void
constructMessage
(com.sshtools.common.util.ByteArrayReader bar) byte[]
Methods inherited from class com.sshtools.agent.AgentMessage
fromByteArray, getMessageType, toByteArray
-
Constructor Details
-
SshAgentRandomData
public SshAgentRandomData()Creates a new SshAgentRandomData object. -
SshAgentRandomData
public SshAgentRandomData(byte[] data) Creates a new SshAgentRandomData object.- Parameters:
data
-
-
-
Method Details
-
getRandomData
public byte[] getRandomData()- 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.sshtools.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.sshtools.j2ssh.transport.InvalidMessageException
- DOCUMENT ME!InvalidMessageException
-