tor
master
|
#include <torcert.h>
Data Fields | |
ed25519_public_key_t | signed_key |
ed25519_public_key_t | signing_key |
time_t | valid_until |
uint8_t * | encoded |
size_t | encoded_len |
uint8_t | cert_type |
unsigned | signing_key_included: 1 |
unsigned | sig_bad: 1 |
unsigned | sig_ok: 1 |
unsigned | cert_expired: 1 |
unsigned | cert_valid: 1 |
An ed25519-signed certificate as used throughout the Tor protocol.
unsigned cert_expired |
True iff we checked the signature and first found that the cert had expired
uint8_t cert_type |
One of CERT_TYPE_...
unsigned cert_valid |
True iff we checked the signature and found the whole cert valid
uint8_t* encoded |
The encoded representation of this certificate
size_t encoded_len |
The length of encoded
unsigned sig_bad |
True iff we checked the signature and found it bad
unsigned sig_ok |
True iff we checked the signature and found it correct
ed25519_public_key_t signed_key |
The key authenticated by this certificate
ed25519_public_key_t signing_key |
The key that signed this certificate. This value may be unset if the certificate has never been checked, and didn't include its own key.
unsigned signing_key_included |
True iff we received a signing key embedded in this certificate
time_t valid_until |
A time after which this certificate will no longer be valid.