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

References type().

Referenced by clone(), Context(), QCA::DLGroupContext::DLGroupContext(), QCA::KeyStoreListContext::KeyStoreListContext(), QCA::MessageContext::MessageContext(), sameProvider(), QCA::SASLContext::SASLContext(), and QCA::TLSContext::TLSContext().

◆ Context() [2/2]

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

Copy constructor.

Parameters
fromthe Context to copy from

References Context().

Member Function Documentation

◆ provider()

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

The Provider associated with this Context.

◆ type()

◆ clone()

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

Create a duplicate of this Context.

Examples
aes-cmac.cpp.

References Context().

◆ 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.

References Context().


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