aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509/x509_dn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/x509/x509_dn.h')
-rw-r--r--src/lib/x509/x509_dn.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/x509/x509_dn.h b/src/lib/x509/x509_dn.h
index e6302e961..9d8beb0bf 100644
--- a/src/lib/x509/x509_dn.h
+++ b/src/lib/x509/x509_dn.h
@@ -53,14 +53,13 @@ class BOTAN_PUBLIC_API(2,0) X509_DN final : public ASN1_Object
const std::vector<std::pair<OID,ASN1_String>>& dn_info() const { return m_rdn; }
+ std::multimap<OID, std::string> get_attributes() const;
+ std::multimap<std::string, std::string> contents() const;
+
bool has_field(const std::string& attr) const;
std::vector<std::string> get_attribute(const std::string& attr) const;
std::string get_first_attribute(const std::string& attr) const;
- std::multimap<OID, std::string> get_attributes() const;
-
- std::multimap<std::string, std::string> contents() const;
-
void add_attribute(const std::string& key, const std::string& val);
void add_attribute(const OID& oid, const std::string& val)