Qt Cryptographic Architecture: QCA::RandomContext Class Reference

Qt Cryptographic Architecture

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
QCA::RandomContext Class Referenceabstract
QCA provider API

`#include <QtCrypto>`

Collaboration diagram for QCA::RandomContext:
[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

  p | the provider associated with this context

## Member Function Documentation

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

Return an array of random bytes.

Parameters

  size | the number of random bytes to return

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

- qcaprovider.h