|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sshtools.j2ssh.transport.hmac.SshHmacFactory
This factory object creates instances of SshHmac objects. The standard algorithms are supported as well as additional classes described in the ssh.xml configuration file. These algorithms must follow the extensibility naming convention as described in the SSH protocol specification (i.e algorithm@company.com).
Field Summary | |
static java.lang.String |
HMAC_SHA
The hmac-sha1 method |
Constructor Summary | |
protected |
SshHmacFactory()
Constructor for the SshHmacFactory object |
Method Summary | |
static java.lang.String |
getDefaultHmac()
Gets the default message authentication method |
static java.util.List |
getSupportedMacs()
Gets the supported message authentication methods |
static SshHmac |
newInstance(java.lang.String methodName)
Creates a new instance of the message autentication 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 HMAC_SHA
Constructor Detail |
protected SshHmacFactory()
Method Detail |
public static final java.lang.String getDefaultHmac()
public static java.util.List getSupportedMacs()
public static SshHmac newInstance(java.lang.String methodName) throws AlgorithmNotSupportedException
methodName
- The method name
AlgorithmNotSupportedException
- Thrown if the method is not
supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |