public class LispMACAuthentication extends Object implements ILispAuthentication
| Modifier and Type | Field and Description |
|---|---|
protected String |
algorithm |
protected static org.slf4j.Logger |
LOG |
MAP_REGISTER_AND_NOTIFY_AUTHENTICATION_POSITION| Constructor and Description |
|---|
LispMACAuthentication(String algorithm) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
protected byte[] |
getAuthenticationData(byte[] data,
String key) |
byte[] |
getAuthenticationData(MapNotify mapNotify,
String key) |
int |
getAuthenticationLength() |
void |
setAlgorithm(String algorithm) |
boolean |
validate(MapRegister mapRegister,
String key) |
protected static final org.slf4j.Logger LOG
protected String algorithm
public LispMACAuthentication(String algorithm)
public boolean validate(MapRegister mapRegister, String key)
validate in interface ILispAuthenticationprotected byte[] getAuthenticationData(byte[] data,
String key)
public int getAuthenticationLength()
getAuthenticationLength in interface ILispAuthenticationpublic String getAlgorithm()
public void setAlgorithm(String algorithm)
public byte[] getAuthenticationData(MapNotify mapNotify, String key)
getAuthenticationData in interface ILispAuthenticationCopyright © 2017 OpenDaylight. All rights reserved.