|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.maverick.ssh.PublicKeyAuthentication
com.maverick.ssh2.Ssh2PublicKeyAuthentication
SSH2 public key authentication providing additional SSH2 public key authentication features. This implementation extends basic public key authentication to provide the ability to pre-check whether a public key is acceptable to the server. Use exactly the same as
| Field Summary |
| Fields inherited from interface com.maverick.ssh.SshAuthentication |
CANCELLED, COMPLETE, FAILED, FURTHER_AUTHENTICATION_REQUIRED, PUBLIC_KEY_ACCEPTABLE |
| Constructor Summary | |
Ssh2PublicKeyAuthentication()
|
|
| Method Summary | |
void |
authenticate(AuthenticationProtocol authentication,
java.lang.String servicename)
Perform the authentication according to the specification. |
void |
setSignatureGenerator(SignatureGenerator generator)
Set the signature generator for this authentication attempt. |
| Methods inherited from class com.maverick.ssh.PublicKeyAuthentication |
getMethod, getPrivateKey, getPublicKey, getUsername, isAuthenticating, setAuthenticating, setPrivateKey, setPublicKey, setUsername |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.maverick.ssh.SshAuthentication |
getMethod, getUsername, setUsername |
| Constructor Detail |
public Ssh2PublicKeyAuthentication()
| Method Detail |
public void authenticate(AuthenticationProtocol authentication,
java.lang.String servicename)
throws SshException,
AuthenticationResult
AuthenticationClient
authenticate in interface AuthenticationClientauthentication - servicename -
AuthenticationResult
SshExceptionpublic void setSignatureGenerator(SignatureGenerator generator)
generator -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||