Lines Matching refs:der_encode
12 from pyasn1.codec.der.encoder import encode as der_encode unknown
64 assert der_encode(asn1Object) == substrate
73 assert der_encode(pk) == spki_pk
86 assert der_encode(asn1Object) == substrate
125 assert der_encode(asn1Object) == substrate
134 assert der_encode(spki_a_p) == spki_a['parameters']
145 assert der_encode(asn1Object) == substrate
184 assert der_encode(asn1Object) == substrate
193 assert der_encode(spki_a_p) == spki_a['parameters']
201 assert der_encode(sig_value) == asn1Object['signature'].asOctets()
212 assert der_encode(asn1Object) == substrate
247 assert der_encode(asn1Object) == substrate
256 assert der_encode(spki_a_p) == spki_a['parameters']
266 assert der_encode(sig_value) == asn1Object['signature'].asOctets()
277 assert der_encode(asn1Object) == substrate
325 assert der_encode(asn1Object) == substrate
334 assert der_encode(spki_a_p) == spki_a['parameters']
345 assert der_encode(asn1Object) == substrate