#include <QtCrypto>
Public Member Functions | |
Initializer (MemoryMode m=Practical, int prealloc=64) |
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.
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, and ssltest.cpp.
QCA::Initializer::Initializer | ( | MemoryMode | m = Practical , |
|
int | prealloc = 64 | |||
) | [explicit] |
Standard constructor.
m | the MemoryMode to use for secure memory | |
prealloc | the amount of secure memory to pre-allocate, in units of 1024 bytes (1K). |