blob: ba3fe3c59c96f2136c3b1a23f599ec7a3e7f2356 [file] [log] [blame]
Brian Stanke2b4f32d2016-02-03 14:22:10 -05001/*
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 * Copyright 2016-present Open Networking Laboratory
Brian Stanke2b4f32d2016-02-03 14:22:10 -05003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Claudine Chiu31ad5272016-02-17 20:56:24 +000017package org.onosproject.net.key;
Brian Stanke2b4f32d2016-02-03 14:22:10 -050018
19import com.google.common.annotations.Beta;
20
21/**
22 * Service for managing device keys.
23 */
24@Beta
25public interface DeviceKeyAdminService extends DeviceKeyService {
26
27 /**
28 * Adds a new device key to the store.
29 *
30 * @param deviceKey device key to be stored
31 */
32 void addKey(DeviceKey deviceKey);
33
34 /**
35 * Removes a device key from the store using the device
36 * key identifier.
37 *
38 * @param id device key identifier used to identify the device key
39 */
40 void removeKey(DeviceKeyId id);
41}
42