public class PEMGeneratorHostKeyProvider extends AbstractGeneratorHostKeyProvider
logSSH_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, setPathgetKeyType, getKeyTypes, loadKeypublic PEMGeneratorHostKeyProvider()
public PEMGeneratorHostKeyProvider(String path)
protected KeyPair doReadKeyPair(InputStream is) throws Exception
doReadKeyPair in class AbstractGeneratorHostKeyProviderExceptionprotected void doWriteKeyPair(KeyPair kp, OutputStream os) throws Exception
doWriteKeyPair in class AbstractGeneratorHostKeyProviderExceptionCopyright © 2008-2012 Apache Software Foundation. All Rights Reserved.