Botan 2.1.0 Crypto and TLS for C++11

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

es_win32.h
Go to the documentation of this file.
1 /*
2 * Win32 EntropySource
3 * (C) 1999-2009 Jack Lloyd
4 *
5 * Botan is released under the Simplified BSD License (see license.txt)
6 */
7
8 #ifndef BOTAN_ENTROPY_SRC_WIN32_H__
9 #define BOTAN_ENTROPY_SRC_WIN32_H__
10
11 #include <botan/entropy_src.h>
12
13 namespace Botan {
14
15 /**
16 * Win32 Entropy Source
17 */
18 class Win32_EntropySource final : public Entropy_Source
19 {
20 public:
21 std::string name() const override { return "system_stats"; }
22 size_t poll(RandomNumberGenerator& rng) override;
23 };
24
25 }
26
27 #endif
Botan::Win32_EntropySource
Definition: es_win32.h:18
Botan::RandomNumberGenerator
Definition: rng.h:25
Botan::Win32_EntropySource::name
std::string name() const override
Definition: es_win32.h:21
Botan::Win32_EntropySource::poll
size_t poll(RandomNumberGenerator &rng) override
Definition: es_win32.cpp:18
Botan
Definition: alg_id.cpp:13
Botan::Entropy_Source
Definition: entropy_src.h:25