aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules/rfc4210.py
diff options
context:
space:
mode:
authorelie <elie>2014-06-11 07:17:27 +0000
committerelie <elie>2014-06-11 07:17:27 +0000
commit0e52244e7c337cbb3556412c618e4598a1fa63de (patch)
treee45bf1c310a2497a9111bb7abb0c5aaf215e23e4 /pyasn1_modules/rfc4210.py
parentd3aea6607a5d23b3b2dd3079d6e6d85d8d7ef06d (diff)
downloadpyasn1-modules-0e52244e7c337cbb3556412c618e4598a1fa63de.tar.gz
missing components added to rfc4210.PKIBody
Diffstat (limited to 'pyasn1_modules/rfc4210.py')
-rw-r--r--pyasn1_modules/rfc4210.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/pyasn1_modules/rfc4210.py b/pyasn1_modules/rfc4210.py
index 545e9f4..c577560 100644
--- a/pyasn1_modules/rfc4210.py
+++ b/pyasn1_modules/rfc4210.py
@@ -504,6 +504,11 @@ class PKIBody(univ.Choice):
pkiconf [19] PKIConfirmContent, --Confirmation
nested [20] NestedMessageContent, --Nested Message
genm [21] GenMsgContent, --General Message
+ genp [22] GenRepContent, --General Response
+ error [23] ErrorMsgContent, --Error Message
+ certConf [24] CertConfirmContent, --Certificate confirm
+ pollReq [25] PollReqContent, --Polling request
+ pollRep [26] PollRepContent --Polling response
"""
componentType = namedtype.NamedTypes(
@@ -595,6 +600,26 @@ class PKIBody(univ.Choice):
namedtype.NamedType('genm', GenMsgContent().subtype(
explicitTag=tag.Tag(tag.tagClassContext,tag.tagFormatConstructed,21)
)
+ ),
+ namedtype.NamedType('gen', GenRepContent().subtype(
+ explicitTag=tag.Tag(tag.tagClassContext,tag.tagFormatConstructed,22)
+ )
+ ),
+ namedtype.NamedType('error', ErrorMsgContent().subtype(
+ explicitTag=tag.Tag(tag.tagClassContext,tag.tagFormatConstructed,23)
+ )
+ ),
+ namedtype.NamedType('certConf', CertConfirmContent().subtype(
+ explicitTag=tag.Tag(tag.tagClassContext,tag.tagFormatConstructed,24)
+ )
+ ),
+ namedtype.NamedType('pollReq', PollReqContent().subtype(
+ explicitTag=tag.Tag(tag.tagClassContext,tag.tagFormatConstructed,25)
+ )
+ ),
+ namedtype.NamedType('pollRep', PollRepContent().subtype(
+ explicitTag=tag.Tag(tag.tagClassContext,tag.tagFormatConstructed,26)
+ )
)
)