aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/x509cert/x509cert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cert/x509cert/x509cert.h')
-rw-r--r--src/cert/x509cert/x509cert.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cert/x509cert/x509cert.h b/src/cert/x509cert/x509cert.h
index 8798ef1c2..cd49aa02f 100644
--- a/src/cert/x509cert/x509cert.h
+++ b/src/cert/x509cert/x509cert.h
@@ -152,6 +152,12 @@ class BOTAN_DLL X509_Certificate : public X509_Object
bool operator==(const X509_Certificate& other) const;
/**
+ * Impose an arbitrary (but consistent) ordering
+ * @return true if this is less than other by some unspecified criteria
+ */
+ bool operator<(const X509_Certificate& other) const;
+
+ /**
* Create a certificate from a data source providing the DER or
* PEM encoded certificate.
* @param source the data source