Lines Matching refs:substrate
33 substrate = pem.readBase64fromText(self.pss_default_pem_text)
34 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
38 assert der_encoder.encode(asn1Object) == substrate
39 assert substrate == der_encoder.encode(asn1Object)
42 substrate = pem.readBase64fromText(self.pss_default_pem_text)
43 asn1Object, rest = der_decoder.decode(substrate,
48 assert der_encoder.encode(asn1Object) == substrate
59 substrate = pem.readBase64fromText(self.pss_sha512_pem_text)
60 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
64 assert der_encoder.encode(asn1Object) == substrate
65 assert substrate == der_encoder.encode(asn1Object)
68 substrate = pem.readBase64fromText(self.pss_sha512_pem_text)
69 asn1Object, rest = der_decoder.decode(substrate,
74 assert der_encoder.encode(asn1Object) == substrate
86 substrate = pem.readBase64fromText(self.oaep_default_pem_text)
87 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
91 assert der_encoder.encode(asn1Object) == substrate
92 assert substrate == der_encoder.encode(asn1Object)
95 substrate = pem.readBase64fromText(self.oaep_default_pem_text)
96 asn1Object, rest = der_decoder.decode(substrate,
101 assert der_encoder.encode(asn1Object) == substrate
112 substrate = pem.readBase64fromText(self.oaep_sha256_pem_text)
113 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
117 assert der_encoder.encode(asn1Object) == substrate
118 assert substrate == der_encoder.encode(asn1Object)
121 substrate = pem.readBase64fromText(self.oaep_sha256_pem_text)
122 asn1Object, rest = der_decoder.decode(substrate,
127 assert der_encoder.encode(asn1Object) == substrate
141 substrate = pem.readBase64fromText(self.oaep_full_pem_text)
142 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
146 assert der_encoder.encode(asn1Object) == substrate
147 assert substrate == der_encoder.encode(asn1Object)
150 substrate = pem.readBase64fromText(self.oaep_full_pem_text)
151 asn1Object, rest = der_decoder.decode(substrate,
156 assert der_encoder.encode(asn1Object) == substrate