Class LispMACAuthentication
java.lang.Object
org.opendaylight.lispflowmapping.lisp.authentication.LispMACAuthentication
- All Implemented Interfaces:
ILispAuthentication
-
Field Summary
FieldsFields inherited from interface org.opendaylight.lispflowmapping.lisp.authentication.ILispAuthentication
MAP_REGISTER_AND_NOTIFY_AUTHENTICATION_POSITION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]getAuthenticationData(byte[] data, String key) byte[]getAuthenticationData(ByteBuffer buffer, String key) intvoidsetAlgorithm(String algorithm) booleanvalidate(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:
validatein interfaceILispAuthentication
-
getAuthenticationData
-
getAuthenticationData
- Specified by:
getAuthenticationDatain interfaceILispAuthentication
-
getAuthenticationLength
public int getAuthenticationLength()- Specified by:
getAuthenticationLengthin interfaceILispAuthentication
-
getAlgorithm
-
setAlgorithm
-