public interface SSHUserPrivateKey extends SSHUser
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.NameProvider
Modifier and Type | Method and Description |
---|---|
hudson.util.Secret |
getPassphrase()
Gets the passphrase for the private keys or
null if the private keys are not protected by a
passphase. |
String |
getPrivateKey()
Deprecated.
use
getPrivateKeys() |
List<String> |
getPrivateKeys()
Returns a collection of keys to try in order for authentication.
|
getDescription
@Deprecated @NonNull String getPrivateKey()
getPrivateKeys()
@CheckForNull hudson.util.Secret getPassphrase()
null
if the private keys are not protected by a
passphase.null
if the private key are not protected by
a passphase.@NonNull List<String> getPrivateKeys()
SSHAuthenticator.getPrivateKeys(com.cloudbees.jenkins.plugins.sshcredentials.SSHUserPrivateKey)
Copyright © 2016. All rights reserved.