Class KeyedAuthMethod
java.lang.Object
net.schmizz.sshj.userauth.method.AbstractAuthMethod
net.schmizz.sshj.userauth.method.KeyedAuthMethod
- All Implemented Interfaces:
SSHPacketHandler, AuthMethod
- Direct Known Subclasses:
AuthHostbased, AuthPublickey
-
Field Summary
FieldsFields inherited from class AbstractAuthMethod
log, params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate KeyAlgorithmgetPublicKeyAlgorithm(KeyType keyType) protected SSHPacketprotected SSHPacketbooleanMethods inherited from class AbstractAuthMethod
buildReq, getName, handle, init, makeAccountResource, request, setLoggerFactory
-
Field Details
-
kProv
-
available
-
-
Constructor Details
-
KeyedAuthMethod
-
-
Method Details
-
getPublicKeyAlgorithm
- Throws:
TransportException
-
shouldRetry
public boolean shouldRetry()- Specified by:
shouldRetryin interfaceAuthMethod- Overrides:
shouldRetryin classAbstractAuthMethod- Returns:
- whether authentication should be reattempted if it failed.
-
putPubKey
- Throws:
UserAuthException
-
putSig
- Throws:
UserAuthException
-