QCA::DLGroup

Search for usage in LXR

#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
 
DLGroupoperator= (const DLGroup &from)
 
BigInteger p () const
 
BigInteger q () const
 

Static Public Member Functions

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

Detailed Description

A discrete logarithm group.

Definition at line 171 of file qca_publickey.h.

Constructor & Destructor Documentation

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

Construct a discrete logarithm group from raw parameters.

Parameters
pthe P parameter
qthe Q parameter
gthe G parameter
QCA::DLGroup::DLGroup ( const BigInteger p,
const BigInteger g 
)

Construct a discrete logarithm group from raw parameters.

Parameters
pthe P parameter
gthe G parameter
QCA::DLGroup::DLGroup ( const DLGroup from)

Standard copy constructor.

Parameters
fromthe group to copy from

Member Function Documentation

BigInteger QCA::DLGroup::g ( ) const

Provide the g component of the group.

bool QCA::DLGroup::isNull ( ) const

Test if the group is empty.

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

Standard assignment operator.

Parameters
fromthe DLGroup to copy from
BigInteger QCA::DLGroup::p ( ) const

Provide the p component of the group.

BigInteger QCA::DLGroup::q ( ) const

Provide the q component of the group.

static QList<DLGroupSet> QCA::DLGroup::supportedGroupSets ( const QString provider = QString())
static

Provide a list of the supported group sets.

Parameters
providerthe 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-2021 The KDE developers.
Generated on Thu May 13 2021 23:03:45 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.