2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 17:45:09 +00:00
qpdf/libqpdf/qpdf/SecureRandomDataProvider.hh
2022-04-16 11:39:14 -04:00

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