Tor  0.4.7.0-alpha-dev
ns_detached_signatures_st.h
Go to the documentation of this file.
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 /**
8  * @file ns_detached_signatures_st.h
9  * @brief Detached consensus signatures structure.
10  **/
11 
12 #ifndef NS_DETACHED_SIGNATURES_ST_H
13 #define NS_DETACHED_SIGNATURES_ST_H
14 
15 /** A set of signatures for a networkstatus consensus. Unless otherwise
16  * noted, all fields are as for networkstatus_t. */
18  time_t valid_after;
19  time_t fresh_until;
20  time_t valid_until;
21  strmap_t *digests; /**< Map from flavor name to digestset_t */
22  strmap_t *signatures; /**< Map from flavor name to list of
23  * document_signature_t */
24 };
25 
26 #endif /* !defined(NS_DETACHED_SIGNATURES_ST_H) */