org.kuali.common.util.ssh.impl
Class DefaultSshService

java.lang.Object
  extended by org.kuali.common.util.ssh.impl.DefaultSshService
All Implemented Interfaces:
SshService

public class DefaultSshService
extends Object
implements SshService


Constructor Summary
DefaultSshService()
           
 
Method Summary
 KeyPair generateKeyPair(GenerateKeyPairContext context)
           
protected  com.jcraft.jsch.KeyPair getKeyPair(com.jcraft.jsch.JSch jsch, int type, int size)
           
protected  String getPrivateKey(com.jcraft.jsch.KeyPair keyPair)
           
protected  String getPublicKey(com.jcraft.jsch.KeyPair keyPair, String name)
           
protected  String toUTF8String(ByteArrayOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSshService

public DefaultSshService()
Method Detail

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.