tor  master
Data Fields
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

◆ alg

digest_algorithm_t alg

Algorithm used to compute the digest of the document.

◆ bad_signature

unsigned int bad_signature

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

◆ good_signature

unsigned int good_signature

Set to true if we've verified the sig as good.

◆ identity_digest

char identity_digest[DIGEST_LEN]

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

◆ signature

char* signature

Signature of the signed thing.

◆ signature_len

int signature_len

Length of signature

◆ signing_key_digest

char signing_key_digest[DIGEST_LEN]

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


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