public class SimpleGeneratorHostKeyProvider extends AbstractGeneratorHostKeyProvider
log
ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, SSH_DSS, SSH_RSA
Constructor and Description |
---|
SimpleGeneratorHostKeyProvider() |
SimpleGeneratorHostKeyProvider(String path) |
SimpleGeneratorHostKeyProvider(String path,
String algorithm) |
SimpleGeneratorHostKeyProvider(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 SimpleGeneratorHostKeyProvider()
public SimpleGeneratorHostKeyProvider(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–2016 The Apache Software Foundation. All rights reserved.