Lines Matching refs:substrate
74 def test_layer(substrate, content_type): argument
75 asn1Object, rest = der_decode(substrate, asn1Spec=layers[content_type])
78 assert der_encode(asn1Object) == substrate
102 substrate = pem.readBase64fromText(self.pem_text)
107 asn1Object = test_layer(substrate, this_layer)
109 substrate = ci['content']
112 asn1Object = test_layer(substrate, this_layer)
113 substrate = getNextSubstrate[this_layer](asn1Object)
116 asn1Object = test_layer(substrate, this_layer)
117 substrate = getNextSubstrate[this_layer](asn1Object)
121 substrate = pem.readBase64fromText(self.pem_text)
122 asn1Object, rest = der_decode(substrate,
127 assert der_encode(asn1Object) == substrate