#include <QtCrypto>
Inheritance diagram for QCA::DLGroupContext:


Signals | |
| void | finished () |
Public Member Functions | |
| DLGroupContext (Provider *p) | |
| virtual QList< DLGroupSet > | supportedGroupSets () const=0 |
| virtual bool | isNull () const=0 |
| virtual void | fetchGroup (DLGroupSet set, bool block)=0 |
| virtual void | getResult (BigInteger *p, BigInteger *q, BigInteger *g) const =0 |
| QCA::DLGroupContext::DLGroupContext | ( | Provider * | p | ) | [inline] |
Standard constructor.
| virtual QList<DLGroupSet> QCA::DLGroupContext::supportedGroupSets | ( | ) | const [pure virtual] |
The DLGroupSets supported by this object.
| virtual bool QCA::DLGroupContext::isNull | ( | ) | const [pure virtual] |
Returns true if there is a result to obtain.
| 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.
| virtual void QCA::DLGroupContext::getResult | ( | BigInteger * | p, | |
| BigInteger * | q, | |||
| BigInteger * | g | |||
| ) | const [pure virtual] |
Obtain the result of the operation.
Ensure isNull() returns false before calling this function.
| void QCA::DLGroupContext::finished | ( | ) | [signal] |
Emitted when the fetchGroup() operation completes in non-blocking mode.
1.5.2