|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.snmp.usm.SnmpUsmHmacAlgorithm
com.sun.management.snmp.usm.SnmpUsmHmacMd5
public class SnmpUsmHmacMd5
Provides the parameters needed by SnmpUsmHmacAlgorithm
to instantiate an Hmac MD5 algorithm.
Field Summary | |
---|---|
static String |
HMAC_MD5_AUTH
Algorithm name as defined in rfc 2574, "usmHMACMD5AuthProtocol". |
static int |
KEY_SIZE
Key size as defined in rfc 2574, 16. |
static int |
MD5_BLOCKSIZE
Block size as defined in rfc 2574, 64. |
Constructor Summary | |
---|---|
SnmpUsmHmacMd5()
Instantiate a new algorithm. |
Method Summary | |
---|---|
String |
getAlgorithm()
Gets the unique algorithm name. |
int |
getDeltaSize()
Gets the delta size. |
String |
getOid()
Gets the associated OID. |
Methods inherited from class com.sun.management.snmp.usm.SnmpUsmHmacAlgorithm |
---|
calculateAuthDelta, calculateNewAuthKey, calculateNewPrivKey, calculatePrivDelta, localizeAuthKey, localizePrivKey, password_to_key, sign, toString, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.management.snmp.usm.SnmpUsmAlgorithm |
---|
getAlgorithm |
Field Detail |
---|
public static final String HMAC_MD5_AUTH
public static final int MD5_BLOCKSIZE
public static final int KEY_SIZE
Constructor Detail |
---|
public SnmpUsmHmacMd5()
Method Detail |
---|
public String getOid()
public int getDeltaSize()
getDeltaSize
in interface SnmpUsmAlgorithm
getDeltaSize
in class SnmpUsmHmacAlgorithm
public String getAlgorithm()
SnmpUsmAlgorithm
getAlgorithm
in interface SnmpUsmAlgorithm
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |