public abstract class AbstractKeyPairProvider extends AbstractLoggingBean implements KeyPairProvider
KeyPairProvider
methodsKeyPairProvider.Utils
log
ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_ED25519, SSH_RSA
EMPTY_KEYS_PROVIDER
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, wait
loadKeys
public KeyPair loadKey(String type)
KeyPairProvider
null
loadKey
in interface KeyPairProvider
type
- the type of key to loadnull
public List<String> getKeyTypes()
getKeyTypes
in interface KeyPairProvider
Iterable
key types in preferred order - never null
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.