Uses of Interface
net.schmizz.sshj.userauth.keyprovider.KeyProvider
-
Packages that use KeyProvider Package Description com.hierynomus.sshj.userauth.keyprovider net.schmizz.sshj net.schmizz.sshj.userauth.keyprovider net.schmizz.sshj.userauth.method -
-
Uses of KeyProvider in com.hierynomus.sshj.userauth.keyprovider
Classes in com.hierynomus.sshj.userauth.keyprovider that implement KeyProvider Modifier and Type Class Description class
OpenSSHKeyV1KeyFile
Reads a key file in the new OpenSSH format. -
Uses of KeyProvider in net.schmizz.sshj
Methods in net.schmizz.sshj that return KeyProvider Modifier and Type Method Description KeyProvider
SSHClient. loadKeys(java.lang.String location)
Returns aKeyProvider
instance created from a location on the file system where an unencrypted private key file (does not require a passphrase) can be found.KeyProvider
SSHClient. loadKeys(java.lang.String location, char[] passphrase)
Utility function for creating aKeyProvider
instance from given location on the file system.KeyProvider
SSHClient. loadKeys(java.lang.String location, java.lang.String passphrase)
Convenience method for creating aKeyProvider
instance from alocation
where an encrypted key file is located.KeyProvider
SSHClient. loadKeys(java.lang.String privateKey, java.lang.String publicKey, PasswordFinder passwordFinder)
Creates aKeyProvider
instance from passed strings.KeyProvider
SSHClient. loadKeys(java.lang.String location, PasswordFinder passwordFinder)
Creates aKeyProvider
instance from given location on the file system.KeyProvider
SSHClient. loadKeys(java.security.KeyPair kp)
Creates aKeyProvider
from suppliedKeyPair
.Methods in net.schmizz.sshj with parameters of type KeyProvider Modifier and Type Method Description void
SSHClient. authPublickey(java.lang.String username, KeyProvider... keyProviders)
Authenticateusername
using the"publickey"
authentication method.Method parameters in net.schmizz.sshj with type arguments of type KeyProvider Modifier and Type Method Description void
SSHClient. authPublickey(java.lang.String username, java.lang.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.keyprovider Modifier and Type Interface Description interface
FileKeyProvider
A file key provider is initialized with a location ofClasses in net.schmizz.sshj.userauth.keyprovider that implement KeyProvider Modifier and Type Class Description class
BaseFileKeyProvider
class
KeyPairWrapper
AKeyProvider
wrapper aroundKeyPair
class
OpenSSHKeyFile
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
PKCS8KeyFile
Key File implementation supporting PEM-encoded PKCS8 and PKCS1 formats with or without password-based encryptionclass
PuTTYKeyFile
Sample PuTTY file format -
Uses of KeyProvider in net.schmizz.sshj.userauth.method
Fields in net.schmizz.sshj.userauth.method declared as KeyProvider Modifier and Type Field Description protected KeyProvider
KeyedAuthMethod. kProv
Constructors in net.schmizz.sshj.userauth.method with parameters of type KeyProvider Constructor Description AuthHostbased(KeyProvider kProv, java.lang.String hostname, java.lang.String hostuser)
AuthPublickey(KeyProvider kProv)
Initialize this method with the provider for public and private key.KeyedAuthMethod(java.lang.String name, KeyProvider kProv)
-