aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules/rfc7191.py
diff options
context:
space:
mode:
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)