Skip to content

Commit

Permalink
Add organizationIdentifier Name OID (2.5.4.97) (#9206)
Browse files Browse the repository at this point in the history
  • Loading branch information
magnuswatn authored Jul 10, 2023
1 parent 44b7b9a commit 50932e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/x509/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"``.
Expand Down
1 change: 1 addition & 0 deletions src/cryptography/hazmat/_oid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 50932e2

Please sign in to comment.