aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cryptography/x509/oid.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cryptography/x509/oid.py b/src/cryptography/x509/oid.py
index 4ecd6cfe..98a61e0b 100644
--- a/src/cryptography/x509/oid.py
+++ b/src/cryptography/x509/oid.py
@@ -157,14 +157,10 @@ _OID_NAMES = {
NameOID.PSEUDONYM: "pseudonym",
NameOID.DOMAIN_COMPONENT: "domainComponent",
NameOID.EMAIL_ADDRESS: "emailAddress",
- NameOID.JURISDICTION_COUNTRY_NAME: (
- "jurisdictionOfIncorporationCountryName"
- ),
- NameOID.JURISDICTION_LOCALITY_NAME: (
- "jurisdictionOfIncorporationLocalityName"
- ),
+ NameOID.JURISDICTION_COUNTRY_NAME: "jurisdictionCountryName",
+ NameOID.JURISDICTION_LOCALITY_NAME: "jurisdictionLocalityName",
NameOID.JURISDICTION_STATE_OR_PROVINCE_NAME: (
- "jurisdictionOfIncorporationStateOrProvinceName"
+ "jurisdictionStateOrProvinceName"
),
NameOID.BUSINESS_CATEGORY: "businessCategory",