Search for usage in LXR

QCA::RandomContext Class Referenceabstract

#include <QtCrypto>

Inheritance diagram for QCA::RandomContext:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Random provider.

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

Definition at line 152 of file qcaprovider.h.

Constructor & Destructor Documentation

◆ RandomContext()

QCA::RandomContext::RandomContext ( Provider * p)

Standard constructor.

pthe provider associated with this context

Definition at line 161 of file qcaprovider.h.

Member Function Documentation

◆ nextBytes()

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

Return an array of random bytes.

sizethe number of random bytes to return

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 Tue Mar 26 2024 11:18:26 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.