QCA::Initializer

Search for usage in LXR

QCA::Initializer Class Reference

#include <QtCrypto>

Public Member Functions

 Initializer (const Initializer &)=delete
 
 Initializer (MemoryMode m=Practical, int prealloc=64)
 
Initializeroperator= (const Initializer &)=delete
 

Detailed Description

Convenience method for initialising and cleaning up QCA.

To ensure that QCA is properly initialised and cleaned up, it is convenient to create an Initializer object, and let it go out of scope at the end of QCA usage.

Examples
aes-cmac.cpp, base64test.cpp, certtest.cpp, ciphertest.cpp, eventhandlerdemo.cpp, hashtest.cpp, hextest.cpp, keyloader.cpp, mactest.cpp, md5crypt.cpp, providertest.cpp, publickeyexample.cpp, randomtest.cpp, rsatest.cpp, saslclient.cpp, saslserver.cpp, sslservtest.cpp, ssltest.cpp, and tlssocket.cpp.

Definition at line 659 of file qca_core.h.

Constructor & Destructor Documentation

◆ Initializer()

QCA::Initializer::Initializer ( MemoryMode m = Practical,
int prealloc = 64 )
explicit

Standard constructor.

Parameters
mthe MemoryMode to use for secure memory
preallocthe amount of secure memory to pre-allocate, in units of 1024 bytes (1K).

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:52:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.