9 #ifndef BOTAN_ASN1_OBJ_H__
10 #define BOTAN_ASN1_OBJ_H__
12 #include <botan/asn1_int.h>
13 #include <botan/asn1_oid.h>
14 #include <botan/asn1_str.h>
15 #include <botan/alg_id.h>
47 std::string as_string()
const;
48 std::string readable_string()
const;
49 bool time_is_set()
const;
53 void set_to(
const std::string&);
54 void set_to(
const std::string&,
ASN1_Tag);
60 bool passes_sanity_check()
const;
61 u32bit year, month, day, hour, minute, second;
74 std::multimap<std::string, std::string> contents()
const;
76 void add_attribute(
const std::string&,
const std::string&);
77 std::multimap<std::string, std::string> get_attributes()
const;
79 void add_othername(
const OID&,
const std::string&,
ASN1_Tag);
80 std::multimap<OID, ASN1_String> get_othernames()
const;
82 bool has_items()
const;
85 const std::string& =
"",
const std::string& =
"");
87 std::multimap<std::string, std::string> alt_info;
88 std::multimap<OID, ASN1_String> othernames;
MemoryVector< byte > parameters
bool operator!=(const OctetString &s1, const OctetString &s2)
bool BOTAN_DLL operator>=(const X509_Time &, const X509_Time &)
bool operator==(const OctetString &s1, const OctetString &s2)
unsigned long long u64bit
bool BOTAN_DLL operator>(const X509_Time &, const X509_Time &)
bool BOTAN_DLL operator<(const X509_Time &, const X509_Time &)
bool BOTAN_DLL operator<=(const X509_Time &, const X509_Time &)