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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
432 B
C++
Raw Normal View History

#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