org.kuali.common.util.ssh.impl
Class DefaultSshService
java.lang.Object
org.kuali.common.util.ssh.impl.DefaultSshService
- All Implemented Interfaces:
- SshService
public class DefaultSshService
- extends Object
- implements SshService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSshService
public DefaultSshService()
generateKeyPair
public KeyPair generateKeyPair(GenerateKeyPairContext context)
- Specified by:
generateKeyPair
in interface SshService
getKeyPair
protected com.jcraft.jsch.KeyPair getKeyPair(com.jcraft.jsch.JSch jsch,
int type,
int size)
getPrivateKey
protected String getPrivateKey(com.jcraft.jsch.KeyPair keyPair)
getPublicKey
protected String getPublicKey(com.jcraft.jsch.KeyPair keyPair,
String name)
toUTF8String
protected String toUTF8String(ByteArrayOutputStream out)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.