org.apache.sshd.server.keyprovider
Class AbstractGeneratorHostKeyProvider
java.lang.Object
org.apache.sshd.common.keyprovider.AbstractKeyPairProvider
org.apache.sshd.server.keyprovider.AbstractGeneratorHostKeyProvider
- All Implemented Interfaces:
- KeyPairProvider
- Direct Known Subclasses:
- PEMGeneratorHostKeyProvider, SimpleGeneratorHostKeyProvider
public abstract class AbstractGeneratorHostKeyProvider
- extends AbstractKeyPairProvider
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 |
AbstractGeneratorHostKeyProvider
protected AbstractGeneratorHostKeyProvider()
AbstractGeneratorHostKeyProvider
protected AbstractGeneratorHostKeyProvider(java.lang.String path)
AbstractGeneratorHostKeyProvider
protected AbstractGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm)
AbstractGeneratorHostKeyProvider
protected AbstractGeneratorHostKeyProvider(java.lang.String path,
java.lang.String algorithm,
int keySize)
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
getAlgorithm
public java.lang.String getAlgorithm()
setAlgorithm
public void setAlgorithm(java.lang.String algorithm)
getKeySize
public int getKeySize()
setKeySize
public void setKeySize(int keySize)
doReadKeyPair
protected abstract java.security.KeyPair doReadKeyPair(java.io.InputStream is)
throws java.lang.Exception
- Throws:
java.lang.Exception
doWriteKeyPair
protected abstract void doWriteKeyPair(java.security.KeyPair kp,
java.io.OutputStream os)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadKeys
public java.security.KeyPair[] loadKeys()
- Specified by:
loadKeys in class AbstractKeyPairProvider
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.