8 #include <botan/x509_crl.h> 9 #include <botan/x509_ext.h> 10 #include <botan/ber_dec.h> 11 #include <botan/parsing.h> 12 #include <botan/bigint.h> 13 #include <botan/oids.h> 21 X509_Object(in,
"X509 CRL/CRL"), throw_on_unknown_critical(touc)
30 X509_Object(in,
"CRL/X509 CRL"), throw_on_unknown_critical(touc)
38 void X509_CRL::force_decode()
45 if(version != 0 && version != 1)
50 tbs_crl.
decode(sig_algo_inner);
72 CRL_Entry entry(throw_on_unknown_critical);
74 revoked.push_back(entry);
84 Extensions extensions(throw_on_unknown_critical);
120 return info.
get1_memvec(
"X509v3.AuthorityKeyIdentifier");
136 return info.
get1(
"X509.CRL.start");
144 return info.
get1(
"X509.CRL.end");
MemoryVector< byte > tbs_bits
MemoryVector< byte > get1_memvec(const std::string &) const
X509_Time this_update() const
BER_Decoder & decode(bool &)
u32bit crl_number() const
X509_DN issuer_dn() const
BER_Decoder & decode_optional(T &out, ASN1_Tag type_tag, ASN1_Tag class_tag, const T &default_value=T())
AlgorithmIdentifier sig_algo
X509_DN create_dn(const Data_Store &info)
X509_CRL(DataSource &source, bool throw_on_unknown_critical=false)
std::string readable_string() const
std::vector< CRL_Entry > get_revoked() const
SecureVector< byte > value
void contents_to(Data_Store &, Data_Store &) const
BER_Object get_next_object()
X509_Time next_update() const
BER_Decoder & verify_end()
u32bit get1_u32bit(const std::string &, u32bit=0) const
MemoryVector< byte > authority_key_id() const
std::string to_string(u64bit n, size_t min_len)
std::multimap< std::string, std::string > contents() const
std::string get1(const std::string &) const
void add(const std::multimap< std::string, std::string > &)