aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-19 20:49:15 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-19 20:49:15 -0500
commita2293c813d2645ac1cdb9ee17da247e2e67fab20 (patch)
treec0a955e16edd37b8336ccd19b17aa81bb985adf8
parentedfd8f83de5f9f6d6a71ff7e6705a7676abf8c5a (diff)
downloadcryptography-a2293c813d2645ac1cdb9ee17da247e2e67fab20.tar.gz
cryptography-a2293c813d2645ac1cdb9ee17da247e2e67fab20.tar.bz2
cryptography-a2293c813d2645ac1cdb9ee17da247e2e67fab20.zip
added business category oid
-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):