public interface KeyPairProvider
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ECDSA_SHA2_NISTP256
SSH identifier for EC keys in NIST curve P-256
|
static java.lang.String |
ECDSA_SHA2_NISTP384
SSH identifier for EC keys in NIST curve P-384
|
static java.lang.String |
ECDSA_SHA2_NISTP521
SSH identifier for EC keys in NIST curve P-521
|
static java.lang.String |
SSH_DSS
SSH identifier for DSA keys
|
static java.lang.String |
SSH_RSA
SSH identifier for RSA keys
|
| 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}".
|
java.lang.Iterable<java.security.KeyPair> |
loadKeys()
Load available keys.
|
static final java.lang.String SSH_RSA
static final java.lang.String SSH_DSS
static final java.lang.String ECDSA_SHA2_NISTP256
static final java.lang.String ECDSA_SHA2_NISTP384
static final java.lang.String ECDSA_SHA2_NISTP521
java.lang.Iterable<java.security.KeyPair> loadKeys()
nulljava.security.KeyPair loadKey(java.lang.String type)
nulltype - the type of key to loadnulljava.lang.String getKeyTypes()
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.