- java.lang.Object
-
- org.snmp4j.security.AuthGeneric
-
- org.snmp4j.security.AuthSHA
-
- All Implemented Interfaces:
java.io.Serializable
,AuthenticationProtocol
,SecurityProtocol
public class AuthSHA extends AuthGeneric
TheSHA
class implements the Secure Hash Authentication.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static OID
ID
private static long
serialVersionUID
-
Fields inherited from class org.snmp4j.security.AuthGeneric
HMAC_BLOCK_SIZE, hmacBlockSize
-
-
Constructor Summary
Constructors Constructor Description AuthSHA()
-
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
-
-
Method Detail
-
getID
public OID getID()
Description copied from interface:AuthenticationProtocol
Gets the OID uniquely identifying the authentication protocol.- Returns:
- an
OID
instance.
-
-