From 3b2fc96c540ee9770f344c47e1217e0a8d8ffd1c Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 19 Dec 2015 21:10:41 -0500 Subject: updated the short names of oids --- src/cryptography/x509/oid.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src') 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", -- cgit v1.2.3