Tor  0.4.7.0-alpha-dev
Data Fields
or_handshake_certs_t Struct Reference

#include <or_handshake_certs_st.h>

Data Fields

int started_here
 
struct tor_x509_cert_t * auth_cert
 
struct tor_x509_cert_t * link_cert
 
struct tor_x509_cert_t * id_cert
 
struct tor_cert_st * ed_id_sign
 
struct tor_cert_st * ed_sign_link
 
struct tor_cert_st * ed_sign_auth
 
uint8_t * ed_rsa_crosscert
 
size_t ed_rsa_crosscert_len
 

Detailed Description

Structure to hold all the certificates we've received on an OR connection

Definition at line 19 of file or_handshake_certs_st.h.

Field Documentation

◆ auth_cert

struct tor_x509_cert_t* auth_cert

The cert for the 'auth' RSA key that's supposed to sign the AUTHENTICATE cell. Signed with the RSA identity key.

Definition at line 24 of file or_handshake_certs_st.h.

◆ ed_id_sign

struct tor_cert_st* ed_id_sign

The Ed25519 signing key, signed with the Ed25519 identity key.

Definition at line 32 of file or_handshake_certs_st.h.

Referenced by or_handshake_certs_check_both().

◆ ed_rsa_crosscert

uint8_t* ed_rsa_crosscert

The Ed25519 identity key, crosssigned with the RSA identity key.

Definition at line 40 of file or_handshake_certs_st.h.

◆ ed_rsa_crosscert_len

size_t ed_rsa_crosscert_len

The length of ed_rsa_crosscert in bytes

Definition at line 42 of file or_handshake_certs_st.h.

◆ ed_sign_auth

struct tor_cert_st* ed_sign_auth

The Ed25519 authentication key (that's supposed to sign an AUTHENTICATE cell) , signed with the Ed25519 siging key.

Definition at line 38 of file or_handshake_certs_st.h.

◆ ed_sign_link

struct tor_cert_st* ed_sign_link

A digest of the X509 link certificate for the TLS connection, signed with the Ed25519 siging key.

Definition at line 35 of file or_handshake_certs_st.h.

◆ id_cert

struct tor_x509_cert_t* id_cert

A self-signed identity certificate: the RSA identity key signed with itself.

Definition at line 30 of file or_handshake_certs_st.h.

Referenced by connection_or_compute_authenticate_cell_body(), and or_handshake_certs_check_both().

◆ link_cert

struct tor_x509_cert_t* link_cert

The cert for the 'link' RSA key that was used to negotiate the TLS connection. Signed with the RSA identity key.

Definition at line 27 of file or_handshake_certs_st.h.

◆ started_here

int started_here

True iff we originated this connection.

Definition at line 21 of file or_handshake_certs_st.h.


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