aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-19 21:10:41 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-19 21:10:41 -0500
commit3b2fc96c540ee9770f344c47e1217e0a8d8ffd1c (patch)
treefd1e48f1e97e2c7792907c50fb6720c54b284939 /src
parentdd18c032a1119aeb033071d51c23e464332a75c6 (diff)
downloadcryptography-3b2fc96c540ee9770f344c47e1217e0a8d8ffd1c.tar.gz
cryptography-3b2fc96c540ee9770f344c47e1217e0a8d8ffd1c.tar.bz2
cryptography-3b2fc96c540ee9770f344c47e1217e0a8d8ffd1c.zip
updated the short names of oids
Diffstat (limited to 'src')
-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",