Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
net_instaweb::InputFileNonceGenerator Class Reference

#include "input_file_nonce_generator.h"

Inheritance diagram for net_instaweb::InputFileNonceGenerator:
net_instaweb::NonceGenerator

Public Member Functions

 InputFileNonceGenerator (FileSystem::InputFile *file, FileSystem *file_system, AbstractMutex *mutex, MessageHandler *handler)
 Takes ownership of file and mutex, but not of handler or file_system.
 
- Public Member Functions inherited from net_instaweb::NonceGenerator
uint64 NewNonce ()
 Generate a fresh, ideally cryptographic, nonce. Thread-safe.
 

Protected Member Functions

virtual uint64 NewNonceImpl ()
 Subclasses must implement this method. Locking is already handled.
 
- Protected Member Functions inherited from net_instaweb::NonceGenerator
 NonceGenerator (AbstractMutex *mutex)
 Takes ownership of mutex.
 

Detailed Description

Implements a NonceGenerator that simply draws data from a cryptographic file such as /dev/urandom.


The documentation for this class was generated from the following file: