QCA::DLGroup Class Reference

A discrete logarithm group. More...

#include <QtCrypto>

Collaboration diagram for QCA::DLGroup:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DLGroup (const BigInteger &p, const BigInteger &q, const BigInteger &g)
 DLGroup (const BigInteger &p, const BigInteger &g)
 DLGroup (const DLGroup &from)
DLGroupoperator= (const DLGroup &from)
bool isNull () const
BigInteger p () const
BigInteger q () const
BigInteger g () const

Static Public Member Functions

static QList< DLGroupSetsupportedGroupSets (const QString &provider=QString())

Detailed Description

A discrete logarithm group.


Constructor & Destructor Documentation

QCA::DLGroup::DLGroup const BigInteger p,
const BigInteger q,
const BigInteger g
 

Construct a discrete logarithm group from raw parameters.

Parameters:
p 
q 
g 

QCA::DLGroup::DLGroup const BigInteger p,
const BigInteger g
 

Construct a discrete logarithm group from raw parameters.

Parameters:
p 
g 

QCA::DLGroup::DLGroup const DLGroup from  ) 
 

Standard copy constructor.


Member Function Documentation

DLGroup& QCA::DLGroup::operator= const DLGroup from  ) 
 

Standard assignment operator.

Parameters:
from the DLGroup to copy from

static 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

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.


The documentation for this class was generated from the following file:
Generated on Fri Jul 6 13:23:58 2007 for Qt Cryptographic Architecture by  doxygen 1.4.6