|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sshtools.j2ssh.transport.publickey.SshPublicKeyFactory
This factory object creates instances of SshPublicKey objects. Furhter public key mechanisms can be configured by placing an entry in the SSH API configuration file ssh.xml. The method names must follow the extensibility naming convention as described in the SSH protocol specification (i.e algorithm@company.com).
Field Summary | |
static java.lang.String |
SSH_DSS
The ssh-dss public key mechanism |
Constructor Summary | |
protected |
SshPublicKeyFactory()
Constructor for the SshPublicKeyFactory object |
Method Summary | |
static java.lang.String |
getDefaultPublicKey()
Gets the default public key mechanism |
static java.util.List |
getSupportedPublicKeys()
Gets the supported public key mechanisms |
static SshPublicKey |
newInstance(java.lang.String methodName)
Creates a new instance of the public key method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SSH_DSS
Constructor Detail |
protected SshPublicKeyFactory()
Method Detail |
public static java.lang.String getDefaultPublicKey()
public static java.util.List getSupportedPublicKeys()
public static SshPublicKey newInstance(java.lang.String methodName) throws AlgorithmNotSupportedException
methodName
- Description of the Parameter
AlgorithmNotSupportedException
- Thrown if the method is not
supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |