com.sun.jdmk.snmp.usm
Class SnmpUsmHmacMd5

java.lang.Object
  extended bycom.sun.jdmk.snmp.usm.SnmpUsmAlgorithmImpl
      extended bycom.sun.jdmk.snmp.usm.SnmpUsmHmacAlgorithm
          extended bycom.sun.jdmk.snmp.usm.SnmpUsmHmacMd5
All Implemented Interfaces:
SnmpUsmAlgorithm, SnmpUsmAuthAlgorithm

Deprecated. Use package com.sun.management.snmp.usm in preference to classes in this package. This class may be removed in a future version of Java DMK.

public class SnmpUsmHmacMd5
extends SnmpUsmHmacAlgorithm

Provides the parameters needed by SnmpUsmHmacAlgorithm to instantiate an Hmac MD5 algorithm.

Since:
Java DMK 5.0

Field Summary
static String HMAC_MD5_AUTH
          Deprecated. Algorithm name as defined in rfc 2574, "usmHMACMD5AuthProtocol".
static int KEY_SIZE
          Deprecated. Key size as defined in rfc 2574, 16.
static int MD5_BLOCKSIZE
          Deprecated. Block size as defined in rfc 2574, 64.
 
Constructor Summary
SnmpUsmHmacMd5()
          Deprecated. Instantiate a new algorithm.
 
Method Summary
 int getDeltaSize()
          Deprecated. Gets the delta size.
 String getOid()
          Deprecated. Gets the associated OID.
 
Methods inherited from class com.sun.jdmk.snmp.usm.SnmpUsmHmacAlgorithm
calculateAuthDelta, calculateNewAuthKey, calculateNewPrivKey, calculatePrivDelta, getAlgorithm, 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.jdmk.snmp.usm.SnmpUsmAlgorithm
getAlgorithm
 

Field Detail

HMAC_MD5_AUTH

public static final String HMAC_MD5_AUTH
Deprecated. 
Algorithm name as defined in rfc 2574, "usmHMACMD5AuthProtocol".

See Also:
Constant Field Values

MD5_BLOCKSIZE

public static final int MD5_BLOCKSIZE
Deprecated. 
Block size as defined in rfc 2574, 64.

See Also:
Constant Field Values

KEY_SIZE

public static final int KEY_SIZE
Deprecated. 
Key size as defined in rfc 2574, 16.

See Also:
Constant Field Values
Constructor Detail

SnmpUsmHmacMd5

public SnmpUsmHmacMd5()
Deprecated. 
Instantiate a new algorithm.

Method Detail

getOid

public String getOid()
Deprecated. 
Gets the associated OID.

Returns:
The oid 1.3.6.1.6.3.10.1.1.2

getDeltaSize

public int getDeltaSize()
Deprecated. 
Gets the delta size.

Specified by:
getDeltaSize in interface SnmpUsmAlgorithm
Specified by:
getDeltaSize in class SnmpUsmHmacAlgorithm
Returns:
The delta size.

FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.