diff options
author | Jack Lloyd <[email protected]> | 2018-01-24 12:58:27 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-01-29 05:36:54 -0500 |
commit | 38a8939f9cf04bf5a76c270d99fe922cde152ff5 (patch) | |
tree | fd767bbdd3e6df872ae17a5549167a6fbb945bd2 /src/lib/x509 | |
parent | 65ab80df80333acedf7f8c7dfc16b3da0daa6bd9 (diff) |
Improve X.509 documentation
GH #1428
Diffstat (limited to 'src/lib/x509')
-rw-r--r-- | src/lib/x509/x509cert.h | 10 |
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; |