public class SshAgentPrivateKeyOp extends AgentMessage
Constructor and Description |
---|
SshAgentPrivateKeyOp()
Creates a new SshAgentPrivateKeyOp object.
|
SshAgentPrivateKeyOp(SshPublicKey pubkey,
String operation,
byte[] data)
Creates a new SshAgentPrivateKeyOp object.
|
Modifier and Type | Method and Description |
---|---|
void |
constructByteArray(ByteArrayWriter baw) |
void |
constructMessage(ByteArrayReader bar) |
String |
getMessageName() |
String |
getOperation() |
byte[] |
getOperationData() |
SshPublicKey |
getPublicKey() |
fromByteArray, getMessageType, toByteArray
public SshAgentPrivateKeyOp()
public SshAgentPrivateKeyOp(SshPublicKey pubkey, String operation, byte[] data)
pubkey
- operation
- data
- public SshPublicKey getPublicKey()
public String getOperation()
public byte[] getOperationData()
public String getMessageName()
getMessageName
in class AgentMessage
public void constructByteArray(ByteArrayWriter baw) throws IOException, InvalidMessageException
constructByteArray
in class AgentMessage
baw
- IOException
com.sshtools.j2ssh.transport.InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
public void constructMessage(ByteArrayReader bar) throws IOException, InvalidMessageException
constructMessage
in class AgentMessage
bar
- IOException
com.sshtools.j2ssh.transport.InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
Copyright © 2024. All rights reserved.