2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-10 23:20:58 +00:00
qpdf/libqpdf/qpdf/SecureRandomDataProvider.hh

23 lines
488 B
C++

#ifndef SECURERANDOMDATAPROVIDER_HH
#define SECURERANDOMDATAPROVIDER_HH
#include <qpdf/RandomDataProvider.hh>
#include <qpdf/DLL.h>
class SecureRandomDataProvider: public RandomDataProvider
{
public:
QPDF_DLL
SecureRandomDataProvider();
QPDF_DLL
virtual ~SecureRandomDataProvider();
QPDF_DLL
virtual void provideRandomData(unsigned char* data, size_t len);
QPDF_DLL
static RandomDataProvider* getInstance();
};
#endif // SECURERANDOMDATAPROVIDER_HH