public class SimpleGeneratorHostKeyProvider extends AbstractGeneratorHostKeyProvider
logECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, SSH_DSS, SSH_RSA| Constructor and Description |
|---|
SimpleGeneratorHostKeyProvider() |
SimpleGeneratorHostKeyProvider(java.lang.String path) |
SimpleGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm) |
SimpleGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm,
int keySize) |
| Modifier and Type | Method and Description |
|---|---|
protected java.security.KeyPair |
doReadKeyPair(java.io.InputStream is) |
protected void |
doWriteKeyPair(java.security.KeyPair kp,
java.io.OutputStream os) |
getAlgorithm, getKeySize, getKeySpec, getPath, loadKeys, setAlgorithm, setKeySize, setKeySpec, setPathgetKeyTypes, loadKeypublic SimpleGeneratorHostKeyProvider()
public SimpleGeneratorHostKeyProvider(java.lang.String path)
public SimpleGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm)
public SimpleGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm,
int keySize)
protected java.security.KeyPair doReadKeyPair(java.io.InputStream is)
throws java.lang.Exception
doReadKeyPair in class AbstractGeneratorHostKeyProviderjava.lang.Exceptionprotected void doWriteKeyPair(java.security.KeyPair kp,
java.io.OutputStream os)
throws java.lang.Exception
doWriteKeyPair in class AbstractGeneratorHostKeyProviderjava.lang.ExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.