public abstract class AbstractKeyPairProvider extends AbstractLoggingBean implements KeyPairProvider
logECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_RSA| Modifier | Constructor and Description |
|---|---|
protected |
AbstractKeyPairProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getKeyTypes() |
KeyPair |
loadKey(String type)
Load a key of the specified type which can be "ssh-rsa", "ssh-dss", or
"ecdsa-sha2-nistp{256,384,521}".
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadKeyspublic KeyPair loadKey(String type)
KeyPairProvidernullloadKey in interface KeyPairProvidertype - the type of key to loadnullpublic List<String> getKeyTypes()
getKeyTypes in interface KeyPairProviderIterable key types in preferred order - never nullCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.