- java.lang.Object
-
- org.snmp4j.security.AuthGeneric
-
- org.snmp4j.security.AuthMD5
-
- All Implemented Interfaces:
java.io.Serializable
,AuthenticationProtocol
,SecurityProtocol
public class AuthMD5 extends AuthGeneric
The AuthMD5 class implements the MD5 authentication protocol.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OID
ID
static int
KEY_LENGTH
private static long
serialVersionUID
-
Fields inherited from class org.snmp4j.security.AuthGeneric
HMAC_BLOCK_SIZE, hmacBlockSize
-
-
Constructor Summary
Constructors Constructor Description AuthMD5()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OID
getID()
Gets the OID uniquely identifying the authentication protocol.-
Methods inherited from class org.snmp4j.security.AuthGeneric
authenticate, changeDelta, getAuthenticationCodeLength, getDigestLength, getDigestObject, getMaxKeyLength, hash, hash, isAuthentic, isSupported, passwordToKey
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ID
public static final OID ID
-
KEY_LENGTH
public static final int KEY_LENGTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
public OID getID()
Description copied from interface:AuthenticationProtocol
Gets the OID uniquely identifying the authentication protocol.- Returns:
- an
OID
instance.
-
-