Data Fields
authority_cert_t Struct Reference

#include <authority_cert_st.h>

Data Fields

signed_descriptor_t cache_info
char signing_key_digest [DIGEST_LEN]
time_t expires
tor_addr_t ipv4_addr
uint16_t ipv4_dirport

Detailed Description

Certificate for v3 directory protocol: binds long-term authority identity keys to medium-term authority signing keys.

Definition at line 19 of file authority_cert_st.h.

Field Documentation

◆ cache_info

signed_descriptor_t cache_info

Information relating to caching this cert on disk and looking it up.

Definition at line 21 of file authority_cert_st.h.

Referenced by already_have_cert(), and authority_cert_free_().

◆ expires

time_t expires

The listed expiration time of this certificate.

Definition at line 29 of file authority_cert_st.h.

◆ identity_key

crypto_pk_t* identity_key

This authority's long-term authority identity key.

Definition at line 23 of file authority_cert_st.h.

Referenced by sr_generate_our_commit().

◆ ipv4_addr

tor_addr_t ipv4_addr

This authority's IPv4 address.

Definition at line 31 of file authority_cert_st.h.

◆ ipv4_dirport

uint16_t ipv4_dirport

This authority's directory port.

Definition at line 33 of file authority_cert_st.h.

◆ signing_key

crypto_pk_t* signing_key

This authority's medium-term signing key.

Definition at line 25 of file authority_cert_st.h.

◆ signing_key_digest

char signing_key_digest[DIGEST_LEN]

The digest of signing_key

Definition at line 27 of file authority_cert_st.h.

Referenced by authority_cert_get_by_sk_digest(), and authority_cert_is_denylisted().

The documentation for this struct was generated from the following file: