public class PEMGeneratorHostKeyProvider extends AbstractGeneratorHostKeyProvider
log
ECDSA_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, loadKeys, setAlgorithm, setKeySize, setKeySpec, setPath
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–2015 The Apache Software Foundation. All rights reserved.