mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-26 19:44:32 +00:00
77 lines
1.6 KiB
Plaintext
77 lines
1.6 KiB
Plaintext
/** \example hashtest.cpp
|
|
|
|
The code below shows how to use a Hash subclass
|
|
|
|
*/
|
|
|
|
/** \example mactest.cpp
|
|
|
|
The code below shows how to use a MessageAuthenticationCode subclass
|
|
|
|
*/
|
|
|
|
/** \example providertest.cpp
|
|
|
|
The code below shows some simple operations on a Provider object, including
|
|
use of iterators and some member functions.
|
|
|
|
*/
|
|
|
|
/** \example base64test.cpp
|
|
|
|
The code below shows some simple operations on a Base64 object, converting
|
|
between QSecureArray and QString.
|
|
|
|
*/
|
|
|
|
/** \example hextest.cpp
|
|
|
|
The code below shows some simple operations on a Hex object, converting
|
|
between QSecureArray and QString.
|
|
|
|
*/
|
|
|
|
|
|
/** \example randomtest.cpp
|
|
|
|
The code below shows the normal way to use the Random class.
|
|
|
|
*/
|
|
|
|
/** \example rsatest.cpp
|
|
|
|
The code below shows some of the capabilities for how to use
|
|
RSA. This example also shows how to export and import a key
|
|
to a file, using PEM encoding.
|
|
|
|
*/
|
|
|
|
/** \example ssltest.cpp
|
|
|
|
The code below shows how to create an SSL client
|
|
|
|
*/
|
|
|
|
/** \example certtest.cpp
|
|
|
|
This example shows how QCA::Certificate and QCA::CertificateCollection
|
|
can be used. Note that the argument, if you provide it, must be a
|
|
PEM encoded file collection.
|
|
|
|
*/
|
|
|
|
/** \example aes-cmac.cpp
|
|
|
|
This examples shows how to implement a client side "provider".
|
|
|
|
There are three important parts to this
|
|
- the class derived from QCA::Provider (in this example called
|
|
"ClientSideProvider"), that generates the context class
|
|
- one or more context classes (in this example only one, implementing
|
|
AES-CMAC, called "AESCMACContext")
|
|
- a call to QCA::insertProvider, to add the QCA::Provider subclass
|
|
into QCA
|
|
|
|
*/
|
|
|