|
||||||||||
| 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 java.lang.String |
SSH_DSS
SSH identifier for DSA keys |
static java.lang.String |
SSH_RSA
SSH identifier for RSA keys |
| Method Summary | |
|---|---|
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" or "ssh-dss". |
| Field Detail |
|---|
static final java.lang.String SSH_RSA
static final java.lang.String SSH_DSS
| Method Detail |
|---|
java.security.KeyPair loadKey(java.lang.String type)
null
type - the type of key to load
nulljava.lang.String getKeyTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||