Tor  0.4.7.0-alpha-dev
authority_cert_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 authority_cert_st.h
9  * @brief Authority certificate structure.
10  **/
11 
12 #ifndef AUTHORITY_CERT_ST_H
13 #define AUTHORITY_CERT_ST_H
14 
16 
17 /** Certificate for v3 directory protocol: binds long-term authority identity
18  * keys to medium-term authority signing keys. */
20  /** Information relating to caching this cert on disk and looking it up. */
22  /** This authority's long-term authority identity key. */
24  /** This authority's medium-term signing key. */
26  /** The digest of <b>signing_key</b> */
28  /** The listed expiration time of this certificate. */
29  time_t expires;
30  /** This authority's IPv4 address. */
32  /** This authority's directory port. */
33  uint16_t ipv4_dirport;
34 };
35 
36 #endif /* !defined(AUTHORITY_CERT_ST_H) */
#define DIGEST_LEN
Definition: digest_sizes.h:20
Descriptor/extrainfo signature structure.
crypto_pk_t * identity_key
crypto_pk_t * signing_key
char signing_key_digest[DIGEST_LEN]
signed_descriptor_t cache_info