Qt Cryptographic Architecture
QCA::Provider::Context Class Referenceabstract

#include <QtCrypto>

Collaboration diagram for QCA::Provider::Context:

Public Member Functions

virtual Contextclone () const =0
 
Providerprovider () const
 
bool sameProvider (const Context *c) const
 
QString type () const
 

Protected Member Functions

 Context (const Context &from)
 
 Context (Provider *parent, const QString &type)
 

Detailed Description

Internal context class used for the plugin.

Examples
aes-cmac.cpp.

Constructor & Destructor Documentation

◆ Context() [1/2]

QCA::Provider::Context::Context ( Provider * parent,
const QString & type )
protected

Standard constructor.

Parameters
parentthe parent provider for this context
typethe name of the provider context type

◆ Context() [2/2]

QCA::Provider::Context::Context ( const Context & from)
protected

Copy constructor.

Parameters
fromthe Context to copy from

Member Function Documentation

◆ provider()

Provider * QCA::Provider::Context::provider ( ) const

The Provider associated with this Context.

◆ type()

QString QCA::Provider::Context::type ( ) const

The type of context, as passed to the constructor.

◆ clone()

virtual Context * QCA::Provider::Context::clone ( ) const
pure virtual

Create a duplicate of this Context.

Examples
aes-cmac.cpp.

◆ sameProvider()

bool QCA::Provider::Context::sameProvider ( const Context * c) const

Test if two Contexts have the same Provider.

Parameters
cpointer to the Context to compare to
Returns
true if the argument and this Context have the same provider.

The documentation for this class was generated from the following file: