ns_detached_signatures_st.h 730 B

12345678910111213141516171819202122
  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-2019, The Tor Project, Inc. */
  5. /* See LICENSE for licensing information */
  6. #ifndef NS_DETACHED_SIGNATURES_ST_H
  7. #define NS_DETACHED_SIGNATURES_ST_H
  8. /** A set of signatures for a networkstatus consensus. Unless otherwise
  9. * noted, all fields are as for networkstatus_t. */
  10. struct ns_detached_signatures_t {
  11. time_t valid_after;
  12. time_t fresh_until;
  13. time_t valid_until;
  14. strmap_t *digests; /**< Map from flavor name to digestset_t */
  15. strmap_t *signatures; /**< Map from flavor name to list of
  16. * document_signature_t */
  17. };
  18. #endif