public interface KeyPairProvider
Modifier and Type | Field and Description |
---|---|
static String |
SSH_DSS
SSH identifier for DSA keys
|
static String |
SSH_RSA
SSH identifier for RSA keys
|
Modifier and Type | Method and Description |
---|---|
String |
getKeyTypes()
Return a comma separated list of the key types available
|
KeyPair |
loadKey(String type)
Load a key of the specified type which can be "ssh-rsa" or "ssh-dss".
|
static final String SSH_RSA
static final String SSH_DSS
KeyPair loadKey(String type)
null
type
- the type of key to loadnull
String getKeyTypes()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.