public class PEMGeneratorHostKeyProvider extends AbstractGeneratorHostKeyProvider
logECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, 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, getKeySpec, getPath, isOverwriteAllowed, loadKeys, setAlgorithm, setKeySize, setKeySpec, setOverwriteAllowed, setPathgetKeyTypes, 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–2014 The Apache Software Foundation. All rights reserved.