|
Tor 0.4.9.3-alpha-dev
|
#include <document_signature_st.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 |
A signature of some document by an authority.
Definition at line 16 of file document_signature_st.h.
Algorithm used to compute the digest of the document.
Definition at line 22 of file document_signature_st.h.
Referenced by networkstatus_check_document_signature(), networkstatus_parse_detached_signatures(), and networkstatus_parse_vote_from_string().
| unsigned int bad_signature |
Set to true if we've tried to verify the sig, and we know it's bad.
Definition at line 27 of file document_signature_st.h.
Referenced by networkstatus_add_detached_signatures(), and networkstatus_check_document_signature().
| unsigned int good_signature |
Set to true if we've verified the sig as good.
Definition at line 29 of file document_signature_st.h.
Referenced by networkstatus_add_detached_signatures(), networkstatus_check_document_signature(), and networkstatus_parse_vote_from_string().
| char identity_digest[DIGEST_LEN] |
Declared SHA-1 digest of this voter's identity key
Definition at line 18 of file document_signature_st.h.
Referenced by networkstatus_check_document_signature(), networkstatus_parse_detached_signatures(), and networkstatus_parse_vote_from_string().
| char* signature |
Signature of the signed thing.
Definition at line 24 of file document_signature_st.h.
Referenced by document_signature_dup(), document_signature_free_(), networkstatus_check_document_signature(), networkstatus_parse_detached_signatures(), and networkstatus_parse_vote_from_string().
| int signature_len |
Length of signature
Definition at line 26 of file document_signature_st.h.
Referenced by document_signature_dup(), networkstatus_check_document_signature(), networkstatus_parse_detached_signatures(), and networkstatus_parse_vote_from_string().
| char signing_key_digest[DIGEST_LEN] |
Declared SHA-1 digest of signing key used by this voter.
Definition at line 20 of file document_signature_st.h.
Referenced by networkstatus_check_document_signature(), networkstatus_parse_detached_signatures(), and networkstatus_parse_vote_from_string().