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
|
Method Summary |
protected java.security.KeyPair |
doReadKeyPair(java.io.InputStream is)
|
protected void |
doWriteKeyPair(java.security.KeyPair kp,
java.io.OutputStream os)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider()
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider(java.lang.String path)
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm)
SimpleGeneratorHostKeyProvider
public SimpleGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm,
int keySize)
doReadKeyPair
protected java.security.KeyPair doReadKeyPair(java.io.InputStream is)
throws java.lang.Exception
- Specified by:
doReadKeyPair in class AbstractGeneratorHostKeyProvider
- Throws:
java.lang.Exception
doWriteKeyPair
protected void doWriteKeyPair(java.security.KeyPair kp,
java.io.OutputStream os)
throws java.lang.Exception
- Specified by:
doWriteKeyPair in class AbstractGeneratorHostKeyProvider
- Throws:
java.lang.Exception
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.