#include <QtCrypto>
Internal context class used for the plugin.
- Examples
- aes-cmac.cpp.
◆ Context() [1/2]
QCA::Provider::Context::Context |
( |
Provider * | parent, |
|
|
const QString & | type ) |
|
protected |
Standard constructor.
- Parameters
-
parent | the parent provider for this context |
type | the name of the provider context type |
◆ Context() [2/2]
QCA::Provider::Context::Context |
( |
const Context & | from | ) |
|
|
protected |
Copy constructor.
- Parameters
-
◆ provider()
Provider * QCA::Provider::Context::provider |
( |
| ) |
const |
◆ 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 |
◆ sameProvider()
bool QCA::Provider::Context::sameProvider |
( |
const Context * | c | ) |
const |
Test if two Contexts have the same Provider.
- Parameters
-
c | pointer 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: