Modifier and Type | Method and Description |
---|---|
static Identity |
Identity.fromData(String name,
byte[] privateKey,
byte[] publicKey,
byte[] passphrase)
Creates a key pair from a private key and public key.
|
static Identity |
Identity.fromFiles(File privateKeyFile)
Creates a key pair from private key and public key files.
|
static Identity |
Identity.fromFiles(File privateKeyFile,
byte[] passphrase)
Creates a key pair from private key and public key files.
|
static Identity |
Identity.fromFiles(File privateKeyFile,
File publicKeyFile,
byte[] passphrase)
Creates a key pair from private key and public key files.
|
static Identity |
Identity.fromFiles(File privateKeyFile,
String passphrase)
Creates a key pair from private key and public key files.
|
Modifier and Type | Method and Description |
---|---|
SFTPEnvironment |
SFTPEnvironment.withIdentities(Identity... identities)
Stores several identity to use.
|
SFTPEnvironment |
SFTPEnvironment.withIdentity(Identity identity)
Stores an identity to use.
|
Modifier and Type | Method and Description |
---|---|
SFTPEnvironment |
SFTPEnvironment.withIdentities(Collection<Identity> identities)
Stores several identity to use.
|
Copyright © 2016–2023. All rights reserved.