From 15bc77911a8394c1814456947d6f0ddd85b0e82e Mon Sep 17 00:00:00 2001 From: Russ Housley Date: Sun, 8 Sep 2019 09:41:53 -0400 Subject: Add support for RFC 3894 and openTypes map cleanup (#62) --- pyasn1_modules/rfc4073.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pyasn1_modules/rfc4073.py') diff --git a/pyasn1_modules/rfc4073.py b/pyasn1_modules/rfc4073.py index 12a9ec0..3f425b2 100644 --- a/pyasn1_modules/rfc4073.py +++ b/pyasn1_modules/rfc4073.py @@ -48,10 +48,12 @@ ContentWithAttributes.componentType = namedtype.NamedTypes( ) -# Map of Content Type OIDs to Content Types -# To be added to the ones that are in rfc5652.py +# Map of Content Type OIDs to Content Types is added to the +# ones that are in rfc5652.py -cmsContentTypesMapUpdate = { +_cmsContentTypesMapUpdate = { id_ct_contentCollection: ContentCollection(), id_ct_contentWithAttrs: ContentWithAttributes(), -} \ No newline at end of file +} + +rfc5652.cmsContentTypesMap.update(_cmsContentTypesMapUpdate) -- cgit v1.2.3