public class PEMGeneratorHostKeyProvider extends AbstractGeneratorHostKeyProvider
SSH_DSS, SSH_RSA
Constructor and Description |
---|
PEMGeneratorHostKeyProvider() |
PEMGeneratorHostKeyProvider(String path) |
PEMGeneratorHostKeyProvider(String path,
String algorithm) |
PEMGeneratorHostKeyProvider(String path,
String algorithm,
int keySize) |
Modifier and Type | Method and Description |
---|---|
protected KeyPair |
doReadKeyPair(InputStream is) |
protected void |
doWriteKeyPair(KeyPair kp,
OutputStream os) |
getAlgorithm, getKeySize, getPath, loadKeys, setAlgorithm, setKeySize, setPath
getKeyType, getKeyTypes, loadKey
public PEMGeneratorHostKeyProvider()
public PEMGeneratorHostKeyProvider(String path)
protected KeyPair doReadKeyPair(InputStream is) throws Exception
doReadKeyPair
in class AbstractGeneratorHostKeyProvider
Exception
protected void doWriteKeyPair(KeyPair kp, OutputStream os) throws Exception
doWriteKeyPair
in class AbstractGeneratorHostKeyProvider
Exception
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.