Package com.cloudbees.jenkins.plugins.sshcredentials.impl

Examples of com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey


            }

            @Override
            public StandardCredentials toCredentials(String description) throws IOException {
                try {
                    return new BasicSSHUserPrivateKey(CredentialsScope.GLOBAL, null, userName,
                            new BasicSSHUserPrivateKey.DirectEntryPrivateKeySource(
                                    FileUtils.readFileToString(getKeyFile(), "iso-8859-1")
                            ),
                            Scrambler.descramble(Secret.toString(passphrase)), description);
                } catch (UnsupportedCharsetException e) {
View Full Code Here

TOP

Related Classes of com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.