• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

QCA::DLGroupContext

QCA::DLGroupContext Class Reference
[QCA provider API]

Discrete logarithm provider. More...

#include <QtCrypto>

Inheritance diagram for QCA::DLGroupContext:
Inheritance graph
[legend]

List of all members.

Signals

void finished ()

Public Member Functions

 DLGroupContext (Provider *p)
virtual void fetchGroup (DLGroupSet set, bool block)=0
virtual void getResult (BigInteger *p, BigInteger *q, BigInteger *g) const =0
virtual bool isNull () const =0
virtual QList< DLGroupSet > supportedGroupSets () const =0

Detailed Description

Discrete logarithm provider.

Note:
This class is part of the provider plugin interface and should not be used directly by applications. You probably want DLGroup instead.

Definition at line 371 of file qcaprovider.h.


Constructor & Destructor Documentation

QCA::DLGroupContext::DLGroupContext ( Provider *  p  )  [inline]

Standard constructor.

Parameters:
p the provider associated with this context

Definition at line 380 of file qcaprovider.h.


Member Function Documentation

virtual void QCA::DLGroupContext::fetchGroup ( DLGroupSet  set,
bool  block 
) [pure virtual]

Attempt to create P, Q, and G values from the specified group set.

If block is true, then this function blocks until completion. Otherwise, this function returns immediately and finished() is emitted when the operation completes.

If an error occurs during generation, then the operation will complete and isNull() will return true.

Parameters:
set the group set to generate the key from
block whether to block (true) or not (false)
void QCA::DLGroupContext::finished (  )  [signal]

Emitted when the fetchGroup() operation completes in non-blocking mode.

virtual void QCA::DLGroupContext::getResult ( BigInteger *  p,
BigInteger *  q,
BigInteger *  g 
) const [pure virtual]

Obtain the result of the operation.

Ensure isNull() returns false before calling this function.

Parameters:
p the P value
q the Q value
g the G value
virtual bool QCA::DLGroupContext::isNull (  )  const [pure virtual]

Returns true if there is a result to obtain.

virtual QList<DLGroupSet> QCA::DLGroupContext::supportedGroupSets (  )  const [pure virtual]

The DLGroupSets supported by this object.


The documentation for this class was generated from the following file:
  • qcaprovider.h

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal