aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules/rfc3709.py
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-04-09 19:31:08 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-09 19:31:08 +0000
commit368b2a975cce6644fc3eae509a1e20d80479b0f8 (patch)
tree1e56fddd4e95a55bf547e014d7ee168824c9e313 /pyasn1_modules/rfc3709.py
parentc340f08f61bbea0a35f7030eba6c67b93cbd43e2 (diff)
parentc1f0ae6dee4f44f0ca1b2492faf4b78c29b400bd (diff)
downloadpyasn1-modules-368b2a975cce6644fc3eae509a1e20d80479b0f8.tar.gz
Upgrade python/pyasn1-modules to v0.2.8 am: 9e51c9ac3a am: b3112bf96b am: 85aef04186 am: c1f0ae6dee
Change-Id: Icde9ec8527a9955ed38395c73b05bcad1b78bf2c
Diffstat (limited to 'pyasn1_modules/rfc3709.py')
-rw-r--r--pyasn1_modules/rfc3709.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/pyasn1_modules/rfc3709.py b/pyasn1_modules/rfc3709.py
index a52f99e..aa1d5b6 100644
--- a/pyasn1_modules/rfc3709.py
+++ b/pyasn1_modules/rfc3709.py
@@ -21,6 +21,7 @@ from pyasn1.type import tag
from pyasn1.type import univ
from pyasn1_modules import rfc5280
+from pyasn1_modules import rfc6170
MAX = float('inf')
@@ -162,6 +163,8 @@ id_logo_background = univ.ObjectIdentifier('1.3.6.1.5.5.7.20.2')
id_logo_loyalty = univ.ObjectIdentifier('1.3.6.1.5.5.7.20.1')
+id_logo_certImage = rfc6170.id_logo_certImage
+
class OtherLogotypeInfo(univ.Sequence):
pass
@@ -194,9 +197,11 @@ LogotypeExtn.componentType = namedtype.NamedTypes(
)
-# Map of Certificate Extension OIDs to Extensions
-# To be added to the ones that are in rfc5280.py
+# Map of Certificate Extension OIDs to Extensions added to the
+# ones that are in rfc5280.py
-certificateExtensionsMapUpdate = {
+_certificateExtensionsMapUpdate = {
id_pe_logotype: LogotypeExtn(),
}
+
+rfc5280.certificateExtensionsMap.update(_certificateExtensionsMapUpdate)