QCA::Algorithm
#include <QtCrypto>
Public Member Functions  
Algorithm (const Algorithm &from)  
void  change (const QString &type, const QString &provider) 
void  change (Provider::Context *c) 
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
◆ Algorithm() [1/3]
QCA::Algorithm::Algorithm  (  const Algorithm &  from  ) 
Standard copy constructor.
 Parameters

from the Algorithm to copy from
◆ Algorithm() [2/3]

protected 
Constructor for empty algorithm.
◆ Algorithm() [3/3]
Constructor of a particular algorithm.
 Parameters

type the algorithm to construct provider the name of a particular Provider
Member Function Documentation
◆ change() [1/2]
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
◆ change() [2/2]
void QCA::Algorithm::change  (  Provider::Context *  c  ) 
◆ context() [1/2]
Provider::Context * QCA::Algorithm::context  (  ) 
The context associated with this algorithm
◆ context() [2/2]
const Provider::Context * QCA::Algorithm::context  (  )  const 
The context associated with this algorithm
◆ operator=()
Assignment operator.
 Parameters

from the Algorithm to copy state from
◆ provider()
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
 Examples
 aescmac.cpp.
◆ takeContext()
Provider::Context * QCA::Algorithm::takeContext  (  ) 
Take the Provider from this algorithm
◆ type()
QString QCA::Algorithm::type  (  )  const 
The name of the algorithm type.
The documentation for this class was generated from the following file:
Documentation copyright © 19962024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:26 by doxygen 1.10.0 written by Dimitri van Heesch, © 19972006
KDE's Doxygen guidelines are available online.