Qt Cryptographic Architecture
|
#include <QtCrypto>
Public Member Functions | |
DLGroup (const BigInteger &p, const BigInteger &q, const BigInteger &g) | |
DLGroup (const BigInteger &p, const BigInteger &g) | |
DLGroup (const DLGroup &from) | |
BigInteger | g () const |
bool | isNull () const |
DLGroup & | operator= (const DLGroup &from) |
BigInteger | p () const |
BigInteger | q () const |
Static Public Member Functions | |
static QList< DLGroupSet > | supportedGroupSets (const QString &provider=QString()) |
A discrete logarithm group.
QCA::DLGroup::DLGroup | ( | const BigInteger & | p, |
const BigInteger & | q, | ||
const BigInteger & | g | ||
) |
Construct a discrete logarithm group from raw parameters.
p | the P parameter |
q | the Q parameter |
g | the G parameter |
QCA::DLGroup::DLGroup | ( | const BigInteger & | p, |
const BigInteger & | g | ||
) |
Construct a discrete logarithm group from raw parameters.
p | the P parameter |
g | the G parameter |
QCA::DLGroup::DLGroup | ( | const DLGroup & | from | ) |
Standard copy constructor.
from | the group to copy from |
Standard assignment operator.
from | the DLGroup to copy from |
|
static |
Provide a list of the supported group sets.
provider | the provider to report which group sets are available. If not specified, all providers will be checked |
bool QCA::DLGroup::isNull | ( | ) | const |
Test if the group is empty.
BigInteger QCA::DLGroup::p | ( | ) | const |
Provide the p component of the group.
BigInteger QCA::DLGroup::q | ( | ) | const |
Provide the q component of the group.
BigInteger QCA::DLGroup::g | ( | ) | const |
Provide the g component of the group.