Skip to content

Commit 50932e2

Browse files
authored
Add organizationIdentifier Name OID (2.5.4.97) (#9206)
1 parent 44b7b9a commit 50932e2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/x509/reference.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3076,6 +3076,12 @@ instances. The following common OIDs are available as constants.
30763076

30773077
Corresponds to the dotted string ``"2.5.4.9"``.
30783078

3079+
.. attribute:: ORGANIZATION_IDENTIFIER
3080+
3081+
.. versionadded:: 42.0.0
3082+
3083+
Corresponds to the dotted string ``"2.5.4.97"``.
3084+
30793085
.. attribute:: ORGANIZATION_NAME
30803086

30813087
Corresponds to the dotted string ``"2.5.4.10"``.

src/cryptography/hazmat/_oid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class NameOID:
6060
LOCALITY_NAME = ObjectIdentifier("2.5.4.7")
6161
STATE_OR_PROVINCE_NAME = ObjectIdentifier("2.5.4.8")
6262
STREET_ADDRESS = ObjectIdentifier("2.5.4.9")
63+
ORGANIZATION_IDENTIFIER = ObjectIdentifier("2.5.4.97")
6364
ORGANIZATION_NAME = ObjectIdentifier("2.5.4.10")
6465
ORGANIZATIONAL_UNIT_NAME = ObjectIdentifier("2.5.4.11")
6566
SERIAL_NUMBER = ObjectIdentifier("2.5.4.5")

0 commit comments

Comments
 (0)