2018-06-15 13:49:30 -04:00
|
|
|
/* Copyright (c) 2001 Matej Pfajfar.
|
|
|
|
* Copyright (c) 2001-2004, Roger Dingledine.
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
2019-01-16 12:33:22 -05:00
|
|
|
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
2018-06-15 13:49:30 -04:00
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
|
|
|
#ifndef NS_DETACHED_SIGNATURES_ST_H
|
|
|
|
#define NS_DETACHED_SIGNATURES_ST_H
|
|
|
|
|
|
|
|
/** A set of signatures for a networkstatus consensus. Unless otherwise
|
|
|
|
* noted, all fields are as for networkstatus_t. */
|
|
|
|
struct ns_detached_signatures_t {
|
|
|
|
time_t valid_after;
|
|
|
|
time_t fresh_until;
|
|
|
|
time_t valid_until;
|
|
|
|
strmap_t *digests; /**< Map from flavor name to digestset_t */
|
|
|
|
strmap_t *signatures; /**< Map from flavor name to list of
|
|
|
|
* document_signature_t */
|
|
|
|
};
|
|
|
|
|
2019-06-05 09:33:35 -04:00
|
|
|
#endif /* !defined(NS_DETACHED_SIGNATURES_ST_H) */
|
2018-06-15 13:49:30 -04:00
|
|
|
|