Lines Matching refs:asn1Object
81 asn1Object, rest = der_decode(substrate, asn1Spec=layers[next_layer])
83 assert asn1Object.prettyPrint()
84 assert der_encode(asn1Object) == substrate
86 substrate = getNextSubstrate[next_layer](asn1Object)
87 next_layer = getNextLayer[next_layer](asn1Object)
89 assert asn1Object['version'] == 0
90 for f in asn1Object['fileList']:
95 asn1Object, rest = der_decode(substrate,
99 assert asn1Object.prettyPrint()
100 assert der_encode(asn1Object) == substrate
102 oid = asn1Object['content']['encapContentInfo']['eContentType']
103 substrate = asn1Object['content']['encapContentInfo']['eContent']
105 asn1Object, rest = der_decode(substrate,
109 assert asn1Object.prettyPrint()
110 assert der_encode(asn1Object) == substrate
112 assert asn1Object['version'] == 0
113 for f in asn1Object['fileList']: