|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.sshd.common.keyprovider.AbstractKeyPairProvider
public abstract class AbstractKeyPairProvider
TODO Add javadoc
| Field Summary |
|---|
| Fields inherited from interface org.apache.sshd.common.KeyPairProvider |
|---|
SSH_DSS, SSH_RSA |
| Constructor Summary | |
|---|---|
AbstractKeyPairProvider()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getKeyType(java.security.KeyPair kp)
|
java.lang.String |
getKeyTypes()
Return a comma separated list of the key types available |
java.security.KeyPair |
loadKey(java.lang.String type)
Load a key of the specified type which can be "ssh-rsa" or "ssh-dss". |
protected abstract java.security.KeyPair[] |
loadKeys()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractKeyPairProvider()
| Method Detail |
|---|
public java.security.KeyPair loadKey(java.lang.String type)
KeyPairProvidernull
loadKey in interface KeyPairProvidertype - the type of key to load
nullpublic java.lang.String getKeyTypes()
KeyPairProvider
getKeyTypes in interface KeyPairProviderprotected java.lang.String getKeyType(java.security.KeyPair kp)
protected abstract java.security.KeyPair[] loadKeys()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||