aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/x509/reference.rst4
-rw-r--r--src/cryptography/x509/oid.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst
index f4b372e3..91c53444 100644
--- a/docs/x509/reference.rst
+++ b/docs/x509/reference.rst
@@ -1863,6 +1863,10 @@ instances. The following common OIDs are available as constants.
Corresponds to the dotted string ``"1.3.6.1.4.1.311.60.2.1.2"``.
+ .. attribute:: BUSINESS_CATEGORY
+
+ Corresponds to the dotted string ``"2.5.4.15"``.
+
.. class:: SignatureAlgorithmOID
diff --git a/src/cryptography/x509/oid.py b/src/cryptography/x509/oid.py
index f398e46d..b9a26e46 100644
--- a/src/cryptography/x509/oid.py
+++ b/src/cryptography/x509/oid.py
@@ -85,6 +85,7 @@ class NameOID(object):
JURISDICTION_STATE_OR_PROVINCE_NAME = ObjectIdentifier(
"1.3.6.1.4.1.311.60.2.1.2"
)
+ BUSINESS_CATEGORY = ObjectIdentifier("2.5.4.15")
class SignatureAlgorithmOID(object):