Update copyrights to 2021, using "make update-copyright"
[tor.git] / src / feature / dirauth / ns_detached_signatures_st.h
blob1bb5378e1d2ce54da5489a65a78bdb730ee86f05
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 */
7 /**
8 * @file ns_detached_signatures_st.h
9 * @brief Detached consensus signatures structure.
10 **/
12 #ifndef NS_DETACHED_SIGNATURES_ST_H
13 #define NS_DETACHED_SIGNATURES_ST_H
15 /** A set of signatures for a networkstatus consensus. Unless otherwise
16 * noted, all fields are as for networkstatus_t. */
17 struct ns_detached_signatures_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 */
26 #endif /* !defined(NS_DETACHED_SIGNATURES_ST_H) */