Uses of Interface
net.schmizz.sshj.userauth.keyprovider.KeyProvider
Packages that use KeyProvider
Package
Description
-
Uses of KeyProvider in com.hierynomus.sshj.userauth.keyprovider
Classes in com.hierynomus.sshj.userauth.keyprovider that implement KeyProviderModifier and TypeClassDescriptionclass
Reads a key file in the new OpenSSH format. -
Uses of KeyProvider in net.schmizz.sshj
Methods in net.schmizz.sshj that return KeyProviderModifier and TypeMethodDescriptionReturns aKeyProvider
instance created from a location on the file system where an unencrypted private key file (does not require a passphrase) can be found.Utility function for creating aKeyProvider
instance from given location on the file system.Convenience method for creating aKeyProvider
instance from alocation
where an encrypted key file is located.SSHClient.loadKeys
(String privateKey, String publicKey, PasswordFinder passwordFinder) Creates aKeyProvider
instance from passed strings.SSHClient.loadKeys
(String location, PasswordFinder passwordFinder) Creates aKeyProvider
instance from given location on the file system.Creates aKeyProvider
from suppliedKeyPair
.Methods in net.schmizz.sshj with parameters of type KeyProviderModifier and TypeMethodDescriptionvoid
SSHClient.authPublickey
(String username, KeyProvider... keyProviders) Authenticateusername
using the"publickey"
authentication method.Method parameters in net.schmizz.sshj with type arguments of type KeyProviderModifier and TypeMethodDescriptionvoid
SSHClient.authPublickey
(String username, Iterable<KeyProvider> keyProviders) Authenticateusername
using the"publickey"
authentication method. -
Uses of KeyProvider in net.schmizz.sshj.userauth.keyprovider
Subinterfaces of KeyProvider in net.schmizz.sshj.userauth.keyproviderModifier and TypeInterfaceDescriptioninterface
A file key provider is initialized with a location ofClasses in net.schmizz.sshj.userauth.keyprovider that implement KeyProviderModifier and TypeClassDescriptionclass
class
AKeyProvider
wrapper aroundKeyPair
class
Represents an OpenSSH identity that consists of a PKCS8-encoded private key file and an unencrypted public key file of the same name with the".pub"
extension.class
Key File implementation supporting PEM-encoded PKCS8 and PKCS1 formats with or without password-based encryptionclass
Sample PuTTY file format -
Uses of KeyProvider in net.schmizz.sshj.userauth.method
Fields in net.schmizz.sshj.userauth.method declared as KeyProviderConstructors in net.schmizz.sshj.userauth.method with parameters of type KeyProviderModifierConstructorDescriptionAuthHostbased
(KeyProvider kProv, String hostname, String hostuser) AuthPublickey
(KeyProvider kProv) Initialize this method with the provider for public and private key.KeyedAuthMethod
(String name, KeyProvider kProv)