public class SshCredential extends KeyPairCredential
| Constructor and Description |
|---|
SshCredential(java.lang.String publicKey,
java.lang.String privateKey)
Create an
SshCredential from the provided public and private key. |
getPrivateKey, getPublicKeypublic SshCredential(java.lang.String publicKey,
java.lang.String privateKey)
SshCredential from the provided public and private key. At least one of the key
values must not be null.publicKey - the public key; may be null only if privateKey is not nullprivateKey - the private key; may be null only if publicKey is not null