KeyParams is a base class for key parameters.
More...
#include <key-params.hpp>
KeyParams is a base class for key parameters.
Its subclasses are used to store parameters for key generation.
Create a key generation parameter.
- Parameters
-
| keyType | The type for the created key. |
| keyIdType | The method for how the key id should be generated, which must not be KEY_ID_TYPE_USER_SPECIFIED. |
- Exceptions
-
| std::runtime_error | if keyIdType is KEY_ID_TYPE_USER_SPECIFIED. |
Create a key generation parameter.
- Parameters
-
| keyType | The type for the created key. |
| keyId | The user-specified key ID. This sets the keyIdType to KEY_ID_TYPE_USER_SPECIFIED. keyId must not be empty. |
- Exceptions
-
| std::runtime_error | if keyId is empty. |
The documentation for this class was generated from the following files: