public class KeyPairAuthenticator extends PublicKeyAuthenticator
SSH_MSG_USERAUTH_PK_OK
Constructor and Description |
---|
KeyPairAuthenticator(SshKeyPair pair) |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(TransportProtocolClient transport,
String username)
Start the authentication
|
getPublicKeys, getSignatureGenerator, onStartAuthentication, processMessage, setKeyPair, sign
public KeyPairAuthenticator(SshKeyPair pair)
public void authenticate(TransportProtocolClient transport, String username)
ClientAuthenticator
authenticate
in interface ClientAuthenticator
authenticate
in class PublicKeyAuthenticator
Copyright © 2017. All rights reserved.