Tor
0.4.7.0-alpha-dev
feature
dirauth
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. */
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 */
24
};
25
26
#endif
/* !defined(NS_DETACHED_SIGNATURES_ST_H) */
ns_detached_signatures_t
Definition:
ns_detached_signatures_st.h:17
ns_detached_signatures_t::signatures
strmap_t * signatures
Definition:
ns_detached_signatures_st.h:22
ns_detached_signatures_t::digests
strmap_t * digests
Definition:
ns_detached_signatures_st.h:21
Generated by
1.9.1