public interface KeyPairProvider extends KeyIdentityProvider
Modifier and Type | Interface and Description |
---|---|
static class |
KeyPairProvider.Utils
A helper class for key-pair providers
|
Modifier and Type | Field and Description |
---|---|
static String |
ECDSA_SHA2_NISTP256
SSH identifier for EC keys in NIST curve P-256
|
static String |
ECDSA_SHA2_NISTP384
SSH identifier for EC keys in NIST curve P-384
|
static String |
ECDSA_SHA2_NISTP521
SSH identifier for EC keys in NIST curve P-521
|
static KeyPairProvider |
EMPTY_KEYPAIR_PROVIDER
A
KeyPairProvider that has no keys |
static String |
SSH_DSS
SSH identifier for DSA keys
|
static String |
SSH_ED25519
SSH identifier for ED25519 elliptic curve keys
|
static String |
SSH_RSA
SSH identifier for RSA keys
|
EMPTY_KEYS_PROVIDER
Modifier and Type | Method and Description |
---|---|
Iterable<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}".
|
loadKeys
static final String SSH_RSA
static final String SSH_DSS
static final String SSH_ED25519
static final String ECDSA_SHA2_NISTP256
static final String ECDSA_SHA2_NISTP384
static final String ECDSA_SHA2_NISTP521
static final KeyPairProvider EMPTY_KEYPAIR_PROVIDER
KeyPairProvider
that has no keysCopyright © 2008–2016 The Apache Software Foundation. All rights reserved.