Package com.sshtools.agent.openssh
Class SshAgentPrivateKeyOp
java.lang.Object
com.sshtools.agent.AgentMessage
com.sshtools.agent.openssh.SshAgentPrivateKeyOp
Message for Agent Private key operation
- Author:
- Aruna Abesekara
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SshAgentPrivateKeyOp object.SshAgentPrivateKeyOp
(com.sshtools.common.ssh.components.SshPublicKey pubkey, byte[] data, com.sshtools.common.util.UnsignedInteger32 flags) Creates a new SshAgentPrivateKeyOp object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
constructByteArray
(com.sshtools.common.util.ByteArrayWriter baw) void
constructMessage
(com.sshtools.common.util.ByteArrayReader bar) com.sshtools.common.util.UnsignedInteger32
getFlags()
byte[]
com.sshtools.common.ssh.components.SshPublicKey
Methods inherited from class com.sshtools.agent.AgentMessage
fromByteArray, getMessageType, toByteArray
-
Constructor Details
-
SshAgentPrivateKeyOp
public SshAgentPrivateKeyOp()Creates a new SshAgentPrivateKeyOp object. -
SshAgentPrivateKeyOp
public SshAgentPrivateKeyOp(com.sshtools.common.ssh.components.SshPublicKey pubkey, byte[] data, com.sshtools.common.util.UnsignedInteger32 flags) Creates a new SshAgentPrivateKeyOp object.- Parameters:
pubkey
-operation
-data
-
-
-
Method Details
-
getPublicKey
public com.sshtools.common.ssh.components.SshPublicKey getPublicKey()- Returns:
-
getFlags
public com.sshtools.common.util.UnsignedInteger32 getFlags()- Returns:
-
getOperationData
public byte[] getOperationData()- 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
-