public class SshAgentUnlock extends RFCAgentMessage
SSH_AGENT_ADD_KEY, SSH_AGENT_ALIVE, SSH_AGENT_DELETE_ALL_KEYS, SSH_AGENT_DELETE_KEY, SSH_AGENT_ERROR_DECRYPT_FAILED, SSH_AGENT_ERROR_DENIED, SSH_AGENT_ERROR_FAILURE, SSH_AGENT_ERROR_KEY_NOT_FOUND, SSH_AGENT_ERROR_KEY_NOT_SUITABLE, SSH_AGENT_ERROR_SIZE_ERROR, SSH_AGENT_ERROR_TIMEOUT, SSH_AGENT_ERROR_UNSUPPORTED_OP, SSH_AGENT_FAILURE, SSH_AGENT_FORWARDING_NOTICE, SSH_AGENT_KEY_LIST, SSH_AGENT_LIST_KEYS, SSH_AGENT_LOCK, SSH_AGENT_OPERATION_COMPLETE, SSH_AGENT_PING, SSH_AGENT_PRIVATE_KEY_OP, SSH_AGENT_RANDOM, SSH_AGENT_RANDOM_DATA, SSH_AGENT_REQUEST_VERSION, SSH_AGENT_SUCCESS, SSH_AGENT_UNLOCK, SSH_AGENT_VERSION, SSH_AGENT_VERSION_RESPONSE, SSH_MSG_USERAUTH_PK_OK
Constructor and Description |
---|
SshAgentUnlock(boolean isRFCAgent)
Creates a new SshAgentUnlock object.
|
SshAgentUnlock(boolean isRFCAgent,
String password)
Creates a new SshAgentUnlock object.
|
Modifier and Type | Method and Description |
---|---|
void |
constructByteArray(ByteArrayWriter baw) |
void |
constructMessage(ByteArrayReader bar) |
String |
getMessageName() |
String |
getPassword() |
fromByteArray, getMessageType, toByteArray
public SshAgentUnlock(boolean isRFCAgent)
public SshAgentUnlock(boolean isRFCAgent, String password)
password
- public String getPassword()
public String getMessageName()
getMessageName
in class RFCAgentMessage
public void constructByteArray(ByteArrayWriter baw) throws IOException, InvalidMessageException
constructByteArray
in class RFCAgentMessage
baw
- IOException
com.sshtools.j2ssh.transport.InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
public void constructMessage(ByteArrayReader bar) throws IOException, InvalidMessageException
constructMessage
in class RFCAgentMessage
bar
- IOException
com.sshtools.j2ssh.transport.InvalidMessageException
- DOCUMENT
ME!InvalidMessageException
Copyright © 2017. All rights reserved.