public class KeyServiceAdapter extends Object implements KeyService
KeyService
.Constructor and Description |
---|
KeyServiceAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addKey(Key key)
Add the key for future discovery.
|
Key |
getKey(Key.Type type,
String description)
Specific credential as specified by the description.
|
List<Key> |
getKeys(Key.Type type)
Provide the keys for discovery
|
void |
removeKey(Key.Type type,
String description)
Remove the specified key
|
public void addKey(Key key)
KeyService
addKey
in interface KeyService
key
- to addpublic List<Key> getKeys(Key.Type type)
KeyService
getKeys
in interface KeyService
type
- key type (SNMP, NETCONF)public Key getKey(Key.Type type, String description)
KeyService
getKey
in interface KeyService
type
- of keydescription
- key referencepublic void removeKey(Key.Type type, String description)
KeyService
removeKey
in interface KeyService
type
- of keydescription
- key referenceCopyright © 2015. All Rights Reserved.