libDwmCredence-0.1.32
Dwm::Credence::Nonce Class Reference

Encapsulates a nonce for encryption. More...

#include <DwmCredenceNonce.hh>

Public Member Functions

 Nonce (bool init=true)
 Default constructor.
 
std::istream & Read (std::istream &is)
 Reads the nonce from the given istream is. Returns is.
 
std::ostream & Write (std::ostream &os) const
 Writes the nonce to the given ostream os. Returns os.
 
 Nonce (const Nonce &)=default
 Copy constructor.
 
 operator const uint8_t * () const
 Returns a pointer to const of the encapsulated nonce data.
 

Detailed Description

Encapsulates a nonce for encryption.

Constructor & Destructor Documentation

◆ Nonce()

Dwm::Credence::Nonce::Nonce ( bool init = true)
inline

Default constructor.

Initializes the nonce with random data if init is true.


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