Definition at line 8 of file KeySetManager.idl.
◆ addKeySet()
| int radm::KeySetManager::addKeySet |
( |
in KeySet | keyset | ) |
|
Add a new key set.
- Parameters
-
| keyset | Key set to be added |
- Returns
- 0 on success
-
1 if any key set parameter is invalid
-
2 if the provided key set name already is used by another key set
◆ deleteKeySet()
| int radm::KeySetManager::deleteKeySet |
( |
in int | id | ) |
|
Delete a key set.
- Parameters
-
| id | ID of the key set to be deleted |
- Returns
- 0 on success
-
1 if no key set with the given ID was found
◆ getAllKeySets()
| vector< KeySet > radm::KeySetManager::getAllKeySets |
( |
| ) |
|
Get all configured key sets.
- Returns
- List of configured key sets
◆ getKeySetById()
| int radm::KeySetManager::getKeySetById |
( |
in int | id, |
|
|
out KeySet | keyset ) |
Get a particular configured key set.
- Parameters
-
| id | ID of the desired key set |
| keyset | Returned key set |
- Returns
- 0 on success
-
1 if the ID could not be found
◆ updateKeySet()
| int radm::KeySetManager::updateKeySet |
( |
in KeySet | keyset | ) |
|
Change a given key set.
- Parameters
-
| keyset | Key set to be updated (matched against existing key set by ID) |
- Returns
- 0 on success
-
1 if no key set with the given ID was found, or if any other key set paraneter is invalid
-
2 if the provided key set name already is used by another key set
◆ ERR_INVALID_ARGUMENT
| constant int radm::KeySetManager::ERR_INVALID_ARGUMENT = 1 |
◆ ERR_NAME_ALREADY_USED
| constant int radm::KeySetManager::ERR_NAME_ALREADY_USED = 2 |
The documentation for this interface was generated from the following file: