RNG support.  
 More...
#include <crypto_rng.h>
|  | 
|  | RNG () | 
|  | Constructor from a Random Number Generator. 
 | 
| virtual | ~RNG () | 
|  | Destructor. 
 | 
| virtual std::vector< uint8_t > | random (size_t len)=0 | 
|  | Generate random value. 
 | 
RNG support. 
This class is used to get the RNG. The global instance can be get with CryptoLink::getRNG() 
Definition at line 22 of file crypto_rng.h.
◆ RNG()
      
        
          | isc::cryptolink::RNG::RNG | ( |  | ) |  | 
      
 
Constructor from a Random Number Generator. 
- Exceptions
- 
  
    | LibraryError | if there was any unexpected exception in the underlying library |  
 
Definition at line 19 of file crypto_rng.cc.
 
 
◆ ~RNG()
  
  | 
        
          | isc::cryptolink::RNG::~RNG | ( |  | ) |  |  | virtual | 
 
 
◆ random()
  
  | 
        
          | virtual std::vector< uint8_t > isc::cryptolink::RNG::random | ( | size_t | len | ) |  |  | pure virtual | 
 
Generate random value. 
The result will be returned as a std::vector<uint8_t>
- Exceptions
- 
  
    | LibraryError | if there was any unexpected exception in the underlying library |  
 
- Parameters
- 
  
    | len | The number of bytes from the result to generate. |  
 
- Returns
- a vector containing random value. 
 
 
◆ CryptoLink::getRNG
The documentation for this class was generated from the following files: