QCA::Algorithm
#include <QtCrypto>
Public Member Functions  
Algorithm (const Algorithm &from)  
void  change (Provider::Context *c) 
void  change (const QString &type, const QString &provider) 
Provider::Context *  context () 
const Provider::Context *  context () const 
Algorithm &  operator= (const Algorithm &from) 
Provider *  provider () const 
Provider::Context *  takeContext () 
QString  type () const 
Protected Member Functions  
Algorithm ()  
Algorithm (const QString &type, const QString &provider)  
Detailed Description
General superclass for an algorithm.
This is a fairly abstract class, mainly used for implementing the backend "provider" interface.
Definition at line 1163 of file qca_core.h.
Constructor & Destructor Documentation
QCA::Algorithm::Algorithm  (  const Algorithm &  from  ) 
Standard copy constructor.
 Parameters

from the Algorithm to copy from

protected 
Constructor for empty algorithm.
Constructor of a particular algorithm.
 Parameters

type the algorithm to construct provider the name of a particular Provider
Member Function Documentation
void QCA::Algorithm::change  (  Provider::Context *  c  ) 
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 Parameters

type the name of the algorithm to use provider the name of the preferred provider
Provider::Context* QCA::Algorithm::context  (  ) 
The context associated with this algorithm
const Provider::Context* QCA::Algorithm::context  (  )  const 
The context associated with this algorithm
Assignment operator.
 Parameters

from the Algorithm to copy state from
Provider* QCA::Algorithm::provider  (  )  const 
The name of the provider.
Each algorithm is implemented by a provider. This allows you to figure out which provider is associated
Provider::Context* QCA::Algorithm::takeContext  (  ) 
Take the Provider from this algorithm
QString QCA::Algorithm::type  (  )  const 
The name of the algorithm type.
The documentation for this class was generated from the following file:
Documentation copyright © 19962020 The KDE developers.
Generated on Tue Sep 29 2020 23:11:24 by doxygen 1.8.11 written by Dimitri van Heesch, © 19972006
KDE's Doxygen guidelines are available online.