Discrete logarithm provider.
- Note
- This class is part of the provider plugin interface and should not be used directly by applications. You probably want DLGroup instead.
virtual void QCA::DLGroupContext::fetchGroup |
( |
DLGroupSet |
set, |
|
|
bool |
block |
|
) |
| |
|
pure virtual |
Attempt to create P, Q, and G values from the specified group set.
If block is true, then this function blocks until completion. Otherwise, this function returns immediately and finished() is emitted when the operation completes.
If an error occurs during generation, then the operation will complete and isNull() will return true.
- Parameters
-
set | the group set to generate the key from |
block | whether to block (true) or not (false) |