Search for usage in LXR

#include <QtCrypto>

Inheritance diagram for QCA::Algorithm:

Public Member Functions

 Algorithm (const Algorithm &from)
void change (Provider::Context *c)
void change (const QString &type, const QString &provider)
Provider::Contextcontext ()
const Provider::Contextcontext () const
Algorithmoperator= (const Algorithm &from)
Providerprovider () const
Provider::ContexttakeContext ()
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.

fromthe Algorithm to copy from
QCA::Algorithm::Algorithm ( )

Constructor for empty algorithm.

QCA::Algorithm::Algorithm ( const QString type,
const QString provider 

Constructor of a particular algorithm.

typethe algorithm to construct
providerthe name of a particular Provider

Member Function Documentation

void QCA::Algorithm::change ( Provider::Context c)

Set the Provider for this algorithm

cthe context for the Provider to use
void QCA::Algorithm::change ( const QString type,
const QString provider 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

typethe name of the algorithm to use
providerthe 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

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

Assignment operator.

fromthe 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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Oct 23 2021 23:04:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.