aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules/rfc7191.py
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-04-09 18:52:03 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-04-09 18:52:03 +0000
commitb3112bf96b1654e199489529e371faeaf1513057 (patch)
tree1e56fddd4e95a55bf547e014d7ee168824c9e313 /pyasn1_modules/rfc7191.py
parenteeb43cc103f86efb51a0be45c93198e8364511c7 (diff)
parent9e51c9ac3afb411a26639585a8c8574fdba24627 (diff)
downloadpyasn1-modules-b3112bf96b1654e199489529e371faeaf1513057.tar.gz
Upgrade python/pyasn1-modules to v0.2.8 am: 9e51c9ac3a
Change-Id: Ic039bcd255c8cbf407207af52426b09068701f01
Diffstat (limited to 'pyasn1_modules/rfc7191.py')
-rw-r--r--pyasn1_modules/rfc7191.py16
1 files changed, 10 insertions, 6 deletions
diff --git a/pyasn1_modules/rfc7191.py b/pyasn1_modules/rfc7191.py
index 4f90be1..7c2be11 100644
--- a/pyasn1_modules/rfc7191.py
+++ b/pyasn1_modules/rfc7191.py
@@ -240,18 +240,22 @@ KeyPkgIdentifierAndReceiptReq.componentType = namedtype.NamedTypes(
)
-# Map of Attribute Type OIDs to Attributes
-# To be added to the ones that are in rfc5652.py
+# Map of Attribute Type OIDs to Attributes are added to
+# the ones that are in rfc5652.py
-cmsAttributesMapUpdate = {
+_cmsAttributesMapUpdate = {
id_aa_KP_keyPkgIdAndReceiptReq: KeyPkgIdentifierAndReceiptReq(),
}
+rfc5652.cmsAttributesMap.update(_cmsAttributesMapUpdate)
-# Map of Content Type OIDs to Content Types
-# To be added to the ones that are in rfc5652.py
-cmsContentTypesMapUpdate = {
+# Map of CMC Content Type OIDs to CMC Content Types are added to
+# the ones that are in rfc5652.py
+
+_cmsContentTypesMapUpdate = {
id_ct_KP_keyPackageError: KeyPackageError(),
id_ct_KP_keyPackageReceipt: KeyPackageReceipt(),
}
+
+rfc5652.cmsContentTypesMap.update(_cmsContentTypesMapUpdate)