public class SshCredential extends KeyPairCredential
| Constructor and Description |
|---|
SshCredential(String publicKey,
String privateKey)
Create an
SshCredential from the provided public and private key. |
| Modifier and Type | Method and Description |
|---|---|
String |
getPublicKeyFingerprint()
Get the fingerprint of the public key associated with the credential.
|
getPrivateKey, getPublicKeypublic SshCredential(String publicKey, 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 nullpublic String getPublicKeyFingerprint()
SshCredential, but may be provided by CredHub when retrieving one.