8 #ifndef BOTAN_X509_CRL_H__
9 #define BOTAN_X509_CRL_H__
11 #include <botan/x509_obj.h>
12 #include <botan/x509_dn.h>
13 #include <botan/crl_ent.h>
14 #include <botan/datastor.h>
19 class X509_Certificate;
45 std::vector<CRL_Entry> get_revoked()
const;
57 std::vector<uint8_t> authority_key_id()
const;
63 uint32_t crl_number()
const;
85 #if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM)
92 X509_CRL(
const std::string& filename,
93 bool throw_on_unknown_critical =
false);
102 X509_CRL(
const std::vector<uint8_t>& vec,
103 bool throw_on_unknown_critical =
false);
113 const X509_Time& nextUpdate,
const std::vector<CRL_Entry>& revoked);
116 void force_decode()
override;
118 bool m_throw_on_unknown_critical;
119 std::vector<CRL_Entry> m_revoked;
X509_CRL_Error(const std::string &error)