org.apache.sshd.server.keyprovider
Class SimpleGeneratorHostKeyProvider
java.lang.Object
org.apache.sshd.common.keyprovider.AbstractKeyPairProvider
org.apache.sshd.server.keyprovider.AbstractGeneratorHostKeyProvider
org.apache.sshd.server.keyprovider.SimpleGeneratorHostKeyProvider
- All Implemented Interfaces:
- KeyPairProvider
public class SimpleGeneratorHostKeyProvider
- extends AbstractGeneratorHostKeyProvider
TODO Add javadoc
- Author:
- Apache MINA SSHD Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider()
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider(String path)
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider(String path,
String algorithm)
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider(String path,
String algorithm,
int keySize)
doReadKeyPair
protected KeyPair doReadKeyPair(InputStream is)
throws Exception
- Specified by:
doReadKeyPair
in class AbstractGeneratorHostKeyProvider
- Throws:
Exception
doWriteKeyPair
protected void doWriteKeyPair(KeyPair kp,
OutputStream os)
throws Exception
- Specified by:
doWriteKeyPair
in class AbstractGeneratorHostKeyProvider
- Throws:
Exception
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.