#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 |
char document_signature_t::identity_digest[DIGEST_LEN] |
Declared SHA-1 digest of this voter's identity key
Referenced by networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().
char document_signature_t::signing_key_digest[DIGEST_LEN] |
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().
Signature of the signed thing.
Referenced by document_signature_dup(), document_signature_free(), networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().
Length of signature
Referenced by document_signature_dup(), networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().
unsigned int document_signature_t::bad_signature |
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().
unsigned int document_signature_t::good_signature |
Set to true if we've verified the sig as good.
Referenced by networkstatus_add_detached_signatures(), networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().