Qt Cryptographic Architecture
Public Member Functions | List of all members
QCA::RandomContext Class Referenceabstract

#include <QtCrypto>

Collaboration diagram for QCA::RandomContext:
Collaboration graph
[legend]

Public Member Functions

virtual SecureArray nextBytes (int size)=0
 
 RandomContext (Provider *p)
 

Additional Inherited Members

- Protected Member Functions inherited from QCA::BasicContext
 BasicContext (Provider *parent, const QString &type)
 
 BasicContext (const BasicContext &from)
 

Detailed Description

Random provider.

Note
This class is part of the provider plugin interface and should not be used directly by applications. You probably want Random instead.

Constructor & Destructor Documentation

QCA::RandomContext::RandomContext ( Provider p)
inline

Standard constructor.

Parameters
pthe provider associated with this context

Member Function Documentation

virtual SecureArray QCA::RandomContext::nextBytes ( int  size)
pure virtual

Return an array of random bytes.

Parameters
sizethe number of random bytes to return

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