qca
QCA::DLGroup Class Reference
[QCA user API]
A discrete logarithm group. More...
#include <QtCrypto>
Public Member Functions | |
| DLGroup (const DLGroup &from) | |
| DLGroup (const BigInteger &p, const BigInteger &g) | |
| DLGroup (const BigInteger &p, const BigInteger &q, const BigInteger &g) | |
| DLGroup () | |
| ~DLGroup () | |
| 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()) |
Detailed Description
A discrete logarithm group.
Definition at line 160 of file qca_publickey.h.
Constructor & Destructor Documentation
| QCA::DLGroup::DLGroup | ( | ) |
Definition at line 485 of file qca_publickey.cpp.
| QCA::DLGroup::DLGroup | ( | const BigInteger & | p, | |
| const BigInteger & | q, | |||
| const BigInteger & | g | |||
| ) |
Construct a discrete logarithm group from raw parameters.
- Parameters:
-
p the P parameter q the Q parameter g the G parameter
Definition at line 490 of file qca_publickey.cpp.
| QCA::DLGroup::DLGroup | ( | const BigInteger & | p, | |
| const BigInteger & | g | |||
| ) |
Construct a discrete logarithm group from raw parameters.
- Parameters:
-
p the P parameter g the G parameter
Definition at line 495 of file qca_publickey.cpp.
| QCA::DLGroup::DLGroup | ( | const DLGroup & | from | ) |
Standard copy constructor.
- Parameters:
-
from the group to copy from
Definition at line 500 of file qca_publickey.cpp.
| QCA::DLGroup::~DLGroup | ( | ) |
Definition at line 506 of file qca_publickey.cpp.
Member Function Documentation
| BigInteger QCA::DLGroup::g | ( | ) | const |
Provide the g component of the group.
Definition at line 542 of file qca_publickey.cpp.
| bool QCA::DLGroup::isNull | ( | ) | const |
Test if the group is empty.
Definition at line 527 of file qca_publickey.cpp.
Standard assignment operator.
- Parameters:
-
from the DLGroup to copy from
Definition at line 511 of file qca_publickey.cpp.
| BigInteger QCA::DLGroup::p | ( | ) | const |
Provide the p component of the group.
Definition at line 532 of file qca_publickey.cpp.
| BigInteger QCA::DLGroup::q | ( | ) | const |
Provide the q component of the group.
Definition at line 537 of file qca_publickey.cpp.
| QList< DLGroupSet > QCA::DLGroup::supportedGroupSets | ( | const QString & | provider = QString() |
) | [static] |
Provide a list of the supported group sets.
- Parameters:
-
provider the provider to report which group sets are available. If not specified, all providers will be checked
Definition at line 522 of file qca_publickey.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference