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 classOpenSSHKeyV1KeyFileReads 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 KeyProviderSSHClient. loadKeys(java.lang.String location)Returns aKeyProviderinstance created from a location on the file system where an unencrypted private key file (does not require a passphrase) can be found.KeyProviderSSHClient. loadKeys(java.lang.String location, char[] passphrase)Utility function for creating aKeyProviderinstance from given location on the file system.KeyProviderSSHClient. loadKeys(java.lang.String location, java.lang.String passphrase)Convenience method for creating aKeyProviderinstance from alocationwhere an encrypted key file is located.KeyProviderSSHClient. loadKeys(java.lang.String privateKey, java.lang.String publicKey, PasswordFinder passwordFinder)Creates aKeyProviderinstance from passed strings.KeyProviderSSHClient. loadKeys(java.lang.String location, PasswordFinder passwordFinder)Creates aKeyProviderinstance from given location on the file system.KeyProviderSSHClient. loadKeys(java.security.KeyPair kp)Creates aKeyProviderfrom suppliedKeyPair.Methods in net.schmizz.sshj with parameters of type KeyProvider Modifier and Type Method Description voidSSHClient. authPublickey(java.lang.String username, KeyProvider... keyProviders)Authenticateusernameusing the"publickey"authentication method.Method parameters in net.schmizz.sshj with type arguments of type KeyProvider Modifier and Type Method Description voidSSHClient. authPublickey(java.lang.String username, java.lang.Iterable<KeyProvider> keyProviders)Authenticateusernameusing 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 interfaceFileKeyProviderA file key provider is initialized with a location ofClasses in net.schmizz.sshj.userauth.keyprovider that implement KeyProvider Modifier and Type Class Description classBaseFileKeyProviderclassKeyPairWrapperAKeyProviderwrapper aroundKeyPairclassOpenSSHKeyFileRepresents 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.classPKCS8KeyFileKey File implementation supporting PEM-encoded PKCS8 and PKCS1 formats with or without password-based encryptionclassPuTTYKeyFileSample 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 KeyProviderKeyedAuthMethod. kProvConstructors 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)
-