Class LispMACAuthentication
java.lang.Object
org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthentication
- All Implemented Interfaces:
ILispAuthentication
-
Field Summary
Fields inherited from interface org.opendaylight.lispflowmapping.lisp.authentication.ILispAuthentication
MAP_REGISTER_AND_NOTIFY_AUTHENTICATION_POSITION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]
getAuthenticationData
(byte[] data, String key) byte[]
getAuthenticationData
(ByteBuffer buffer, String key) int
void
setAlgorithm
(String algorithm) boolean
validate
(ByteBuffer mapRegisterBuffer, byte[] expectedAuthData, String key)
-
Field Details
-
LOG
protected static final org.slf4j.Logger LOG -
algorithm
-
-
Constructor Details
-
LispMACAuthentication
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceILispAuthentication
-
getAuthenticationData
-
getAuthenticationData
- Specified by:
getAuthenticationData
in interfaceILispAuthentication
-
getAuthenticationLength
public int getAuthenticationLength()- Specified by:
getAuthenticationLength
in interfaceILispAuthentication
-
getAlgorithm
-
setAlgorithm
-