aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/x509
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-24 12:58:27 -0500
committerJack Lloyd <[email protected]>2018-01-29 05:36:54 -0500
commit38a8939f9cf04bf5a76c270d99fe922cde152ff5 (patch)
treefd767bbdd3e6df872ae17a5549167a6fbb945bd2 /src/lib/x509
parent65ab80df80333acedf7f8c7dfc16b3da0daa6bd9 (diff)
Improve X.509 documentation
GH #1428
Diffstat (limited to 'src/lib/x509')
-rw-r--r--src/lib/x509/x509cert.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/x509/x509cert.h b/src/lib/x509/x509cert.h
index 79d16d37f..637efd569 100644
--- a/src/lib/x509/x509cert.h
+++ b/src/lib/x509/x509cert.h
@@ -337,7 +337,14 @@ class BOTAN_PUBLIC_API(2,0) X509_Certificate : public X509_Object
*/
const std::vector<uint8_t>& v2_subject_key_id() const;
+ /**
+ * Return the subject alternative names (DNS, IP, ...)
+ */
const AlternativeName& subject_alt_name() const;
+
+ /**
+ * Return the issuer alternative names (DNS, IP, ...)
+ */
const AlternativeName& issuer_alt_name() const;
/**
@@ -380,7 +387,8 @@ class BOTAN_PUBLIC_API(2,0) X509_Certificate : public X509_Object
bool operator==(const X509_Certificate& other) const;
/**
- * Impose an arbitrary (but consistent) ordering
+ * Impose an arbitrary (but consistent) ordering, eg to allow sorting
+ * a container of certificate objects.
* @return true if this is less than other by some unspecified criteria
*/
bool operator<(const X509_Certificate& other) const;