public class DefaultSshService extends Object implements SshService
Constructor and Description |
---|
DefaultSshService() |
Modifier and Type | Method and Description |
---|---|
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) |
public DefaultSshService()
public KeyPair generateKeyPair(GenerateKeyPairContext context)
generateKeyPair
in interface SshService
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)
Copyright © 2010–2014 The Kuali Foundation. All rights reserved.