public abstract class AbstractKeyPairProvider extends java.lang.Object implements KeyPairProvider
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, SSH_DSS, SSH_RSA| Constructor and Description |
|---|
AbstractKeyPairProvider() |
| Modifier and Type | Method and Description |
|---|---|
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", "ssh-dss", or
"ecdsa-sha2-nistp{256,384,521}".
|
abstract java.lang.Iterable<java.security.KeyPair> |
loadKeys()
Load available keys.
|
public java.security.KeyPair loadKey(java.lang.String type)
KeyPairProvidernullloadKey in interface KeyPairProvidertype - the type of key to loadnullpublic java.lang.String getKeyTypes()
KeyPairProvidergetKeyTypes in interface KeyPairProviderpublic abstract java.lang.Iterable<java.security.KeyPair> loadKeys()
KeyPairProviderloadKeys in interface KeyPairProvidernullCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.