2015-04-22 19:06:29 +02:00
|
|
|
#ifndef OPENSSLRANDOMDEVICE_H
|
|
|
|
#define OPENSSLRANDOMDEVICE_H
|
|
|
|
|
2016-08-29 15:42:07 +02:00
|
|
|
#include "../global.h"
|
|
|
|
|
2015-04-22 19:06:29 +02:00
|
|
|
#include <c++utilities/conversion/types.h>
|
|
|
|
|
|
|
|
namespace Util {
|
|
|
|
|
2016-08-29 15:42:07 +02:00
|
|
|
class PASSWORD_FILE_EXPORT OpenSslRandomDevice
|
2015-04-22 19:06:29 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
OpenSslRandomDevice();
|
|
|
|
uint32 operator()() const;
|
|
|
|
bool status() const;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // OPENSSLRANDOMDEVICE_H
|