Lines Matching refs:asn1Object
49 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
52 assert asn1Object.prettyPrint()
53 assert der_encoder.encode(asn1Object) == substrate
59 … asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec, decodeOpenTypes=True)
62 assert asn1Object.prettyPrint()
63 assert der_encoder.encode(asn1Object) == substrate
85 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
88 assert asn1Object.prettyPrint()
89 assert der_encoder.encode(asn1Object) == substrate
95 … asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec, decodeOpenTypes=True)
98 assert asn1Object.prettyPrint()
99 assert der_encoder.encode(asn1Object) == substrate
123 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
126 assert asn1Object.prettyPrint()
127 assert der_encoder.encode(asn1Object) == substrate
133 … asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec, decodeOpenTypes=True)
136 assert asn1Object.prettyPrint()
137 assert der_encoder.encode(asn1Object) == substrate