Lines Matching refs:asn1Object
61 asn1Object, rest = der_decode (substrate, asn1Spec=self.asn1Spec)
63 assert asn1Object.prettyPrint()
64 assert der_encode(asn1Object) == substrate
66 assert asn1Object['contentType'] == rfc5652.id_signedData
67 sd, rest = der_decode(asn1Object['content'], asn1Spec=rfc5652.SignedData())
70 assert der_encode(sd) == asn1Object['content']
119 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
121 assert asn1Object.prettyPrint()
122 assert der_encode(asn1Object) == substrate
124 assert asn1Object['contentType'] == rfc5652.id_signedData
125 sd, rest = der_decode (asn1Object['content'], asn1Spec=rfc5652.SignedData())
128 assert der_encode(sd) == asn1Object['content']
150 asn1Object, rest = der_decode(substrate,
154 assert asn1Object.prettyPrint()
155 assert der_encode(asn1Object) == substrate
157 assert asn1Object['contentType'] in rfc5652.cmsContentTypesMap.keys()
158 assert asn1Object['contentType'] == rfc5652.id_signedData
160 sd = asn1Object['content']