Lines Matching refs:asn1Object
37 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
39 assert asn1Object.prettyPrint()
40 assert der_encode(asn1Object) == substrate
42 assert asn1Object['contentType'] in rfc5652.cmsContentTypesMap
43 asn1Spec = rfc5652.cmsContentTypesMap[asn1Object['contentType']]
44 skp, rest = der_decode(asn1Object['content'], asn1Spec=asn1Spec)
47 assert der_encode(skp) == asn1Object['content']
58 asn1Object, rest = der_decode(substrate,
62 assert asn1Object.prettyPrint()
63 assert der_encode(asn1Object) == substrate
65 assert asn1Object['contentType'] in rfc5652.cmsContentTypesMap
66 assert asn1Object['content'].hasValue()
67 keypkg = asn1Object['content']