Home
last modified time | relevance | path

Searched refs:der_encoder (Results 1 – 20 of 20) sorted by relevance

/external/python/pyasn1-modules/tests/
Dtest_rfc4055.py12 from pyasn1.codec.der import encoder as der_encoder unknown
38 assert der_encoder.encode(asn1Object) == substrate
39 assert substrate == der_encoder.encode(asn1Object)
48 assert der_encoder.encode(asn1Object) == substrate
64 assert der_encoder.encode(asn1Object) == substrate
65 assert substrate == der_encoder.encode(asn1Object)
74 assert der_encoder.encode(asn1Object) == substrate
91 assert der_encoder.encode(asn1Object) == substrate
92 assert substrate == der_encoder.encode(asn1Object)
101 assert der_encoder.encode(asn1Object) == substrate
[all …]
Dtest_rfc3560.py12 from pyasn1.codec.der import encoder as der_encoder unknown
36 assert der_encoder.encode(asn1Object) == substrate
37 assert substrate == der_encoder.encode(asn1Object)
52 assert der_encoder.encode(asn1Object) == substrate
53 assert substrate == der_encoder.encode(asn1Object)
68 assert der_encoder.encode(asn1Object) == substrate
69 assert substrate == der_encoder.encode(asn1Object)
Dtest_rfc2459.py10 from pyasn1.codec.der import encoder as der_encoder unknown
53 assert der_encoder.encode(asn1Object) == substrate
63 assert der_encoder.encode(asn1Object) == substrate
89 assert der_encoder.encode(asn1Object) == substrate
99 assert der_encoder.encode(asn1Object) == substrate
127 assert der_encoder.encode(asn1Object) == substrate
137 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc3779.py10 from pyasn1.codec.der import encoder as der_encoder unknown
59 assert der_encoder.encode(asn1Object) == substrate
70 assert der_encoder.encode(addr_blocks) == s
77 assert der_encoder.encode(as_ids) == s
88 assert der_encoder.encode(asn1Object) == substrate
96 assert der_encoder.encode(extnValue) == extn['extnValue']
Dtest_rfc8226.py12 from pyasn1.codec.der import encoder as der_encoder unknown
35 assert der_encoder.encode(asn1Object) == substrate
49 assert der_encoder.encode(asn1Object) == substrate
78 assert der_encoder.encode(asn1Object) == substrate
86 assert der_encoder.encode(extnValue) == extn['extnValue']
Dtest_rfc3565.py12 from pyasn1.codec.der import encoder as der_encoder unknown
37 assert der_encoder.encode(asn1Object) == substrate
53 assert der_encoder.encode(asn1Object) == substrate
65 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc8619.py10 from pyasn1.codec.der import encoder as der_encoder unknown
36 assert der_encoder.encode(asn1Object) == substrate
55 assert der_encoder.encode(asn1Object) == substrate
74 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc2560.py10 from pyasn1.codec.der import encoder as der_encoder unknown
39 assert der_encoder.encode(asn1Object) == substrate
78 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc5208.py10 from pyasn1.codec.der import encoder as der_encoder unknown
45 assert der_encoder.encode(asn1Object) == substrate
71 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc2315.py10 from pyasn1.codec.der import encoder as der_encoder unknown
153 assert der_encoder.encode(asn1Object) == substrate
162 assert der_encoder.encode(
Dtest_rfc5649.py12 from pyasn1.codec.der import encoder as der_encoder unknown
35 assert der_encoder.encode(asn1Object) == substrate
50 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc5652.py10 from pyasn1.codec.der import encoder as der_encoder unknown
86 assert der_encoder.encode(asn1Object) == substrate
130 assert der_encoder.encode(asn1Object) == substrate
141 assert der_encoder.encode(pkid) == eci['eContent']
Dtest_rfc2314.py10 from pyasn1.codec.der import encoder as der_encoder unknown
54 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc4210.py10 from pyasn1.codec.der import encoder as der_encoder unknown
126 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc2511.py10 from pyasn1.codec.der import encoder as der_encoder unknown
46 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc2437.py10 from pyasn1.codec.der import encoder as der_encoder unknown
44 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc8410.py12 from pyasn1.codec.der import encoder as der_encoder unknown
38 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc8418.py12 from pyasn1.codec.der import encoder as der_encoder unknown
37 assert der_encoder.encode(asn1Object) == substrate
Dtest_rfc8103.py12 from pyasn1.codec.der import encoder as der_encoder unknown
40 assert der_encoder.encode(asn1Object) == substrate
/external/python/pyasn1/docs/source/
Dexample-use-case.rst181 from pyasn1.codec.der.encoder import encode as der_encoder
184 der_serialisation = der_encoder(private_key)