#include <hmac_cookie.h>
mir::cookie::HMACCookie::HMACCookie |
( |
| ) |
|
|
delete |
mir::cookie::HMACCookie::HMACCookie |
( |
uint64_t const & |
timestamp, |
|
|
std::vector< uint8_t > const & |
mac, |
|
|
mir::cookie::Format const & |
format |
|
) |
| |
|
explicit |
std::vector< uint8_t > mir::cookie::HMACCookie::serialize |
( |
| ) |
const |
|
overridevirtual |
Converts the cookie into a stream of bytes.
- Returns
- The stream of bytes formatted
Implements mir::cookie::Cookie.
uint64_t mir::cookie::HMACCookie::timestamp |
( |
| ) |
const |
|
overridevirtual |
Returns the timestamp that the cookie is built with.
- Returns
- The timestamp
Implements mir::cookie::Cookie.
The documentation for this class was generated from the following files:
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016