9 #ifndef BOTAN_ASN1_ALT_NAME_H__
10 #define BOTAN_ASN1_ALT_NAME_H__
12 #include <botan/asn1_obj.h>
13 #include <botan/asn1_str.h>
14 #include <botan/asn1_oid.h>
25 void encode_into(
class DER_Encoder&)
const override;
28 std::multimap<std::string, std::string> contents()
const;
30 void add_attribute(
const std::string&,
const std::string&);
31 std::multimap<std::string, std::string> get_attributes()
const;
33 void add_othername(
const OID&,
const std::string&,
ASN1_Tag);
34 std::multimap<OID, ASN1_String> get_othernames()
const;
36 bool has_items()
const;
39 const std::string& =
"",
const std::string& =
"");
41 std::multimap<std::string, std::string> m_alt_info;
42 std::multimap<OID, ASN1_String> m_othernames;