34#include "../my_config.h"
97 extern bool same_signatories(
const std::list<signator> & a,
const std::list<signator> & b);
this file contains the definition of class datetime that stores unix times in a portable way
char crypto_algo_2_char(crypto_algo a)
convert crypto algo to char
std::string crypto_algo_2_string(crypto_algo algo)
convert crypto algo to readable std::string
crypto_algo char_2_crypto_algo(char a)
convert char to crypto algo
crypto_algo
the different cypher available for encryption (strong or weak)
bool same_signatories(const std::list< signator > &a, const std::list< signator > &b)
return whether the two signators lists match
@ none
no hashing algorithm
@ camellia256
camellia 256 strong encryption
@ aes256
AES 256 strong encryption.
@ blowfish
blowfish strong encryption
@ serpent256
serpent 256 strong encryption
@ scrambling
scrambling weak encryption
@ twofish256
twofish 256 strong encryption
libdar namespace encapsulate all libdar symbols
result_t result
status of the signing
@ revoked
the key we have has been revoked
@ expired
the key we have has expired
@ valid
the key we have is neither expired nor revoked
key_validity_t key_validity
validity of the key used to verify the signature
datetime signing_date
date of signature
std::string fingerprint
fingerprint of the key
@ bad
key correct bug signature tempered
@ error
signature failed to be checked for other error
@ unknown_key
no key found to check the signature
datetime signature_expiration_date
date of expiration of this signature