diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index e14c8ffc1093..87ebe62f2669 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -3076,6 +3076,12 @@ instances. The following common OIDs are available as constants. Corresponds to the dotted string ``"2.5.4.9"``. + .. attribute:: ORGANIZATION_IDENTIFIER + + .. versionadded:: 42.0.0 + + Corresponds to the dotted string ``"2.5.4.97"``. + .. attribute:: ORGANIZATION_NAME Corresponds to the dotted string ``"2.5.4.10"``. diff --git a/src/cryptography/hazmat/_oid.py b/src/cryptography/hazmat/_oid.py index 01d4b3406062..0af19e0ce222 100644 --- a/src/cryptography/hazmat/_oid.py +++ b/src/cryptography/hazmat/_oid.py @@ -60,6 +60,7 @@ class NameOID: LOCALITY_NAME = ObjectIdentifier("2.5.4.7") STATE_OR_PROVINCE_NAME = ObjectIdentifier("2.5.4.8") STREET_ADDRESS = ObjectIdentifier("2.5.4.9") + ORGANIZATION_IDENTIFIER = ObjectIdentifier("2.5.4.97") ORGANIZATION_NAME = ObjectIdentifier("2.5.4.10") ORGANIZATIONAL_UNIT_NAME = ObjectIdentifier("2.5.4.11") SERIAL_NUMBER = ObjectIdentifier("2.5.4.5")