- java.lang.Object
-
- org.snmp4j.security.AuthGeneric
-
- org.snmp4j.security.AuthSHA2
-
- org.snmp4j.security.AuthHMAC192SHA256
-
- All Implemented Interfaces:
java.io.Serializable
,AuthenticationProtocol
,SecurityProtocol
public class AuthHMAC192SHA256 extends AuthSHA2
The classAuthHMAC192SHA256
implements the usmHMAC192SHA2256AuthProtocol defined by RFC 7630.- Since:
- 2.4.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static int
AUTH_CODE_LENGTH
private static int
DIGEST_LENGTH
private static int
HMAC_BLOCK_SIZE
static OID
ID
private static long
serialVersionUID
-
Fields inherited from class org.snmp4j.security.AuthGeneric
hmacBlockSize
-
-
Constructor Summary
Constructors Constructor Description AuthHMAC192SHA256()
Creates an usmHMAC192SHA256AuthProtocol implementation.
-
Method Summary
-
Methods inherited from class org.snmp4j.security.AuthGeneric
authenticate, changeDelta, getAuthenticationCodeLength, getDigestLength, getDigestObject, getMaxKeyLength, hash, hash, isAuthentic, isSupported, passwordToKey
-
-
-
-
Field Detail
-
ID
public static final OID ID
-
DIGEST_LENGTH
private static final int DIGEST_LENGTH
- See Also:
- Constant Field Values
-
AUTH_CODE_LENGTH
private static final int AUTH_CODE_LENGTH
- See Also:
- Constant Field Values
-
HMAC_BLOCK_SIZE
private static final int HMAC_BLOCK_SIZE
- See Also:
- Constant Field Values
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-