public abstract class AbstractKeyPairProvider extends Object implements KeyPairProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
SSH_DSS, SSH_RSA| Constructor and Description |
|---|
AbstractKeyPairProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getKeyType(KeyPair kp) |
String |
getKeyTypes()
Return a comma separated list of the key types available
|
KeyPair |
loadKey(String type)
Load a key of the specified type which can be "ssh-rsa" or "ssh-dss".
|
protected abstract KeyPair[] |
loadKeys() |
public KeyPair loadKey(String type)
KeyPairProvidernullloadKey in interface KeyPairProvidertype - the type of key to loadnullpublic String getKeyTypes()
KeyPairProvidergetKeyTypes in interface KeyPairProviderprotected abstract KeyPair[] loadKeys()
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.