|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyPairProvider
Provider for key pairs. This provider is used on the server side to provide the host key, or on the client side to provide the user key.
Field Summary | |
---|---|
static String |
SSH_DSS
SSH identifier for DSA keys |
static String |
SSH_RSA
SSH identifier for RSA keys |
Method Summary | |
---|---|
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". |
Field Detail |
---|
static final String SSH_RSA
static final String SSH_DSS
Method Detail |
---|
KeyPair loadKey(String type)
null
type
- the type of key to load
null
String getKeyTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |