mirror of
https://github.com/qpdf/qpdf.git
synced 2024-11-16 17:45:09 +00:00
16 lines
432 B
C++
16 lines
432 B
C++
#ifndef SECURERANDOMDATAPROVIDER_HH
|
|
#define SECURERANDOMDATAPROVIDER_HH
|
|
|
|
#include <qpdf/RandomDataProvider.hh>
|
|
|
|
class SecureRandomDataProvider: public RandomDataProvider
|
|
{
|
|
public:
|
|
SecureRandomDataProvider() = default;
|
|
virtual ~SecureRandomDataProvider() = default;
|
|
virtual void provideRandomData(unsigned char* data, size_t len);
|
|
static RandomDataProvider* getInstance();
|
|
};
|
|
|
|
#endif // SECURERANDOMDATAPROVIDER_HH
|