8 #ifndef BOTAN_ASN1_OID_H__
9 #define BOTAN_ASN1_OID_H__
11 #include <botan/asn1_int.h>
30 bool is_empty()
const {
return id.size() == 0; }
36 std::vector<u32bit>
get_id()
const {
return id; }
42 std::string as_string()
const;
66 OID(
const std::string& str =
"");
68 std::vector<u32bit> id;
92 bool operator<(
const OID& a,
const OID& b);
bool operator!=(const OctetString &s1, const OctetString &s2)
bool operator==(const OctetString &s1, const OctetString &s2)
OctetString operator+(const OctetString &k1, const OctetString &k2)
MemoryRegion< T > & operator+=(MemoryRegion< T > &out, const MemoryRegion< T > &in)
bool BOTAN_DLL operator<(const X509_Time &, const X509_Time &)
std::vector< u32bit > get_id() const