1
2
3
4
5
6
7
8 package org.opendaylight.lispflowmapping.interfaces.lisp;
9
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapNotify;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapRegister;
12
13 public interface ILispAuthentication {
14 public boolean validate(MapRegister mapRegister, String key);
15
16 public byte[] getAuthenticationData(MapNotify mapNotify, String key);
17
18 public int getAuthenticationLength();
19
20 public static final int MAP_REGISTER_AND_NOTIFY_AUTHENTICATION_POSITION = 16;
21
22 }