public class PrivateKeyFileAuthenticator extends PublicKeyAuthenticator
SSH_MSG_USERAUTH_PK_OK| Constructor and Description |
|---|
PrivateKeyFileAuthenticator(java.io.File keyfile) |
PrivateKeyFileAuthenticator(java.io.File keyfile,
java.lang.String passphrase) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(TransportProtocolClient transport,
java.lang.String username)
Start the authentication
|
java.lang.String |
getPassphrase() |
getName, onStartAuthentication, processMessage, setKeyPair, signcancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, successaddFutureListener, done, isDone, isSuccess, waitFor, waitForeverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, failure, getAuthenticationMethods, isCancelled, isMoreAuthenticationRequired, success, successaddFutureListener, isDone, isSuccess, waitFor, waitForeverpublic PrivateKeyFileAuthenticator(java.io.File keyfile,
java.lang.String passphrase)
public PrivateKeyFileAuthenticator(java.io.File keyfile)
public java.lang.String getPassphrase()
public void authenticate(TransportProtocolClient transport, java.lang.String username)
ClientAuthenticatorauthenticate in interface ClientAuthenticatorauthenticate in class PublicKeyAuthenticatorCopyright © 2022. All rights reserved.