com.sshtools.j2ssh.agent
Class SshAgentPrivateKeyOp
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessage
com.sshtools.j2ssh.agent.SshAgentPrivateKeyOp
class SshAgentPrivateKeyOp
- extends SubsystemMessage
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSH_AGENT_PRIVATE_KEY_OP
public static final int SSH_AGENT_PRIVATE_KEY_OP
- See Also:
- Constant Field Values
pubkey
SshPublicKey pubkey
operation
java.lang.String operation
data
byte[] data
SshAgentPrivateKeyOp
public SshAgentPrivateKeyOp()
- Creates a new SshAgentPrivateKeyOp object.
SshAgentPrivateKeyOp
public SshAgentPrivateKeyOp(SshPublicKey pubkey,
java.lang.String operation,
byte[] data)
- Creates a new SshAgentPrivateKeyOp object.
- Parameters:
pubkey - operation - data -
getPublicKey
public SshPublicKey getPublicKey()
- Returns:
getOperation
public java.lang.String getOperation()
- Returns:
getOperationData
public byte[] getOperationData()
- Returns:
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageName in class SubsystemMessage
- Returns:
constructByteArray
public void constructByteArray(ByteArrayWriter baw)
throws java.io.IOException,
InvalidMessageException
- Specified by:
constructByteArray in class SubsystemMessage
- Parameters:
baw -
- Throws:
java.io.IOException
InvalidMessageException - DOCUMENT
ME!
InvalidMessageException
constructMessage
public void constructMessage(ByteArrayReader bar)
throws java.io.IOException,
InvalidMessageException
- Specified by:
constructMessage in class SubsystemMessage
- Parameters:
bar -
- Throws:
java.io.IOException
InvalidMessageException - DOCUMENT
ME!
InvalidMessageException