aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/x509/reference.rst7
-rw-r--r--src/cryptography/x509/oid.py1
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index 5a903b95..7cc72711 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -2511,6 +2511,13 @@ instances. The following common OIDs are available as constants.
Corresponds to the dotted string ``"1.3.6.1.5.5.7.3.9"``. This is used
to denote that a certificate may be used for signing OCSP responses.
+ .. attribute:: ANY_EXTENDED_KEY_USAGE
+
+ .. versionadded:: 2.0
+
+ Corresponds to the dotted string ``"2.5.29.37.0"``. This is used to
+ denote that a certificate may be used for _any_ purposes.
+
.. class:: AuthorityInformationAccessOID
diff --git a/src/cryptography/x509/oid.py b/src/cryptography/x509/oid.py
index 1beed0f9..4a6fa3c1 100644
--- a/src/cryptography/x509/oid.py
+++ b/src/cryptography/x509/oid.py
@@ -171,6 +171,7 @@ class ExtendedKeyUsageOID(object):
EMAIL_PROTECTION = ObjectIdentifier("1.3.6.1.5.5.7.3.4")
TIME_STAMPING = ObjectIdentifier("1.3.6.1.5.5.7.3.8")
OCSP_SIGNING = ObjectIdentifier("1.3.6.1.5.5.7.3.9")
+ ANY_EXTENDED_KEY_USAGE = ObjectIdentifier("2.5.29.37.0")
class AuthorityInformationAccessOID(object):