• Home
  • Raw
  • Download

Lines Matching refs:asn1Object

34         asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
36 assert asn1Object.prettyPrint()
37 assert asn1Object[0] == rfc4055.id_RSASSA_PSS
38 assert der_encoder.encode(asn1Object) == substrate
39 assert substrate == der_encoder.encode(asn1Object)
43 asn1Object, rest = der_decoder.decode(substrate,
47 assert asn1Object.prettyPrint()
48 assert der_encoder.encode(asn1Object) == substrate
49 assert not asn1Object['parameters'].hasValue()
60 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
62 assert asn1Object.prettyPrint()
63 assert asn1Object[0] == rfc4055.id_RSASSA_PSS
64 assert der_encoder.encode(asn1Object) == substrate
65 assert substrate == der_encoder.encode(asn1Object)
69 asn1Object, rest = der_decoder.decode(substrate,
73 assert asn1Object.prettyPrint()
74 assert der_encoder.encode(asn1Object) == substrate
75 assert asn1Object['parameters'].hasValue()
76 assert asn1Object['parameters']['saltLength'] == 20
87 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
89 assert asn1Object.prettyPrint()
90 assert asn1Object[0] == rfc4055.id_RSAES_OAEP
91 assert der_encoder.encode(asn1Object) == substrate
92 assert substrate == der_encoder.encode(asn1Object)
96 asn1Object, rest = der_decoder.decode(substrate,
100 assert asn1Object.prettyPrint()
101 assert der_encoder.encode(asn1Object) == substrate
102 assert not asn1Object['parameters'].hasValue()
113 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
115 assert asn1Object.prettyPrint()
116 assert asn1Object[0] == rfc4055.id_RSAES_OAEP
117 assert der_encoder.encode(asn1Object) == substrate
118 assert substrate == der_encoder.encode(asn1Object)
122 asn1Object, rest = der_decoder.decode(substrate,
126 assert asn1Object.prettyPrint()
127 assert der_encoder.encode(asn1Object) == substrate
128 assert asn1Object['parameters'].hasValue()
129 oaep_p = asn1Object['parameters']
142 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
144 assert asn1Object.prettyPrint()
145 assert asn1Object[0] == rfc4055.id_RSAES_OAEP
146 assert der_encoder.encode(asn1Object) == substrate
147 assert substrate == der_encoder.encode(asn1Object)
151 asn1Object, rest = der_decoder.decode(substrate,
155 assert asn1Object.prettyPrint()
156 assert der_encoder.encode(asn1Object) == substrate
157 assert asn1Object['parameters'].hasValue()
158 oaep_p = asn1Object['parameters']