QCA::DLGroup
QCA::DLGroup Class Reference
#include <QtCrypto>
Public Member Functions | |
DLGroup (const BigInteger &p, const BigInteger &g) | |
DLGroup (const BigInteger &p, const BigInteger &q, 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()) |
Detailed Description
A discrete logarithm group.
Definition at line 171 of file qca_publickey.h.
Constructor & Destructor Documentation
◆ DLGroup() [1/3]
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
◆ DLGroup() [2/3]
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
◆ DLGroup() [3/3]
QCA::DLGroup::DLGroup | ( | const DLGroup & | from | ) |
Standard copy constructor.
- Parameters
-
from the group to copy from
Member Function Documentation
◆ g()
BigInteger QCA::DLGroup::g | ( | ) | const |
Provide the g component of the group.
◆ isNull()
bool QCA::DLGroup::isNull | ( | ) | const |
Test if the group is empty.
◆ operator=()
Standard assignment operator.
- Parameters
-
from the DLGroup to copy from
◆ p()
BigInteger QCA::DLGroup::p | ( | ) | const |
Provide the p component of the group.
◆ q()
BigInteger QCA::DLGroup::q | ( | ) | const |
Provide the q component of the group.
◆ supportedGroupSets()
|
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
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:47:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.