Lines Matching refs:asn1Object
32 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
34 assert asn1Object.prettyPrint()
35 assert asn1Object[0] == rfc3560.id_RSAES_OAEP
36 assert der_encoder.encode(asn1Object) == substrate
37 assert substrate == der_encoder.encode(asn1Object)
48 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
50 assert asn1Object.prettyPrint()
51 assert asn1Object[0] == rfc3560.id_RSAES_OAEP
52 assert der_encoder.encode(asn1Object) == substrate
53 assert substrate == der_encoder.encode(asn1Object)
64 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
66 assert asn1Object.prettyPrint()
67 assert asn1Object[0] == rfc3560.id_RSAES_OAEP
68 assert der_encoder.encode(asn1Object) == substrate
69 assert substrate == der_encoder.encode(asn1Object)