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