8 #ifndef BOTAN_X509_CERT_STORE_H__ 9 #define BOTAN_X509_CERT_STORE_H__ 11 #include <botan/x509cert.h> 12 #include <botan/x509_crl.h> 13 #include <botan/certstor.h> 56 EMAIL_PROTECTION = 0x08,
74 u32bit cache_results = 30*60);
81 class BOTAN_DLL CRL_Data
91 class BOTAN_DLL Cert_Info
94 bool is_verified(
u32bit timeout)
const;
95 bool is_trusted()
const;
103 mutable bool checked;
105 mutable u64bit last_checked;
111 X509_Code check_sig(
const Cert_Info&,
const Cert_Info&)
const;
112 void recompute_revoked_info()
const;
116 std::vector<size_t>&,
bool =
false);
121 static const size_t NO_CERT_FOUND = 0xFFFFFFFF;
122 std::vector<Cert_Info> certs;
123 std::vector<CRL_Data> revoked;
124 std::vector<Certificate_Store*> stores;
125 u32bit time_slack, validation_cache_timeout;
126 mutable bool revoked_info_valid;
bool operator!=(const OctetString &s1, const OctetString &s2)
bool operator==(const OctetString &s1, const OctetString &s2)
std::string PEM_encode(const Private_Key &key)
unsigned long long u64bit
bool BOTAN_DLL operator<(const X509_Time &, const X509_Time &)