document_signature_t Struct Reference

#include <or.h>


Data Fields

char identity_digest [DIGEST_LEN]
char signing_key_digest [DIGEST_LEN]
digest_algorithm_t alg
char * signature
int signature_len
unsigned int bad_signature: 1
unsigned int good_signature: 1


Detailed Description

A signature of some document by an authority.

Field Documentation

Declared SHA-1 digest of this voter's identity key

Referenced by networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().

Declared SHA-1 digest of signing key used by this voter.

Referenced by networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().

digest_algorithm_t document_signature_t::alg

Algorithm used to compute the digest of the document.

Referenced by networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().

Set to true if we've tried to verify the sig, and we know it's bad.

Referenced by networkstatus_add_detached_signatures(), and networkstatus_check_document_signature().


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

Generated on Tue May 25 00:31:11 2010 for tor by  doxygen 1.5.6