/external/python/pyasn1-modules/tests/ |
D | test_rfc3279.py | 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() [all …]
|
D | test_rfc8520.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 64 assert der_encode(asn1Object) == substrate 72 assert der_encode(mudsigner) == extn['extnValue'] 75 assert mudsigner[0][0][0]['value'] == der_encode(c) 77 assert mudsigner[0][1][0]['value'] == der_encode(e) 80 assert mudsigner[0][2][0]['value'] == der_encode(cn) 84 assert der_encode(mudurl) == extn['extnValue'] 96 assert der_encode(asn1Object) == substrate 102 assert der_encode(extnValue) == extn['extnValue']
|
D | test_rfc3709.py | 10 from pyasn1.codec.der.encoder import encode as der_encode unknown 50 assert der_encode(asn1Object) == substrate 61 assert der_encode(logotype) == s 73 assert der_encode(asn1Object) == substrate 79 assert der_encode(extnValue) == extn['extnValue'] 143 assert der_encode(asn1Object) == substrate 154 assert der_encode(logotype) == s 166 assert der_encode(asn1Object) == substrate 172 assert der_encode(extnValue) == extn['extnValue']
|
D | test_rfc7292.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 85 assert der_encode(asn1Object) == substrate 101 assert der_encode(authsafe) == data 111 assert der_encode(sc) == data 119 assert der_encode(bv) == sb['bagValue'] 127 assert der_encode(av) == attr['attrValues'][0] 137 assert der_encode(asn1Object) == substrate 148 assert der_encode(authsafe) == asn1Object['authSafe']['content'] 158 assert der_encode(sc) == ci['content']
|
D | test_rfc5035.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 67 assert der_encode(asn1Object) == substrate 73 assert der_encode(sd) == asn1Object['content'] 83 assert der_encode(sav) == sav0 122 assert der_encode(asn1Object) == substrate 128 assert der_encode(sd) == asn1Object['content'] 135 assert der_encode(receipt) == sd['encapContentInfo']['eContent'] 145 assert der_encode(sav) == sav0 153 assert der_encode(asn1Object) == substrate
|
D | test_rfc2634.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 64 assert der_encode(asn1Object) == substrate 70 assert der_encode(sd) == asn1Object['content'] 80 assert der_encode(sav) == sav0 122 assert der_encode(asn1Object) == substrate 128 assert der_encode(sd) == asn1Object['content'] 135 assert der_encode(receipt) == sd['encapContentInfo']['eContent'] 146 assert der_encode(sav) == sav0 155 assert der_encode(asn1Object) == substrate
|
D | test_rfc6960.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 42 assert der_encode(asn1Object) == substrate 53 assert der_encode(ev) == extn['extnValue'] 65 assert der_encode(asn1Object) == substrate 108 assert der_encode(asn1Object) == substrate 117 assert der_encode(resp) == rb['response'] 127 assert der_encode(ev) == extn['extnValue'] 139 assert der_encode(asn1Object) == substrate 149 assert der_encode(resp) == rb['response']
|
D | test_rfc7191.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 69 assert der_encode(asn1Object) == substrate 84 assert der_encode(sav) == sav0 97 assert der_encode(asn1Object) == substrate 144 assert der_encode(asn1Object) == substrate 151 assert der_encode(sd) == asn1Object['content'] 159 assert der_encode(receipt) == sd['encapContentInfo']['eContent'] 172 assert der_encode(asn1Object) == substrate 230 assert der_encode(asn1Object) == substrate 237 assert der_encode(sd) == asn1Object['content'] [all …]
|
D | test_rfc8419.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 37 assert der_encode(asn1Object) == substrate 53 assert der_encode(asn1Object) == substrate 69 assert der_encode(asn1Object) == substrate 85 assert der_encode(asn1Object) == substrate 101 assert der_encode(asn1Object) == substrate 107 assert der_encode(param) == asn1Object['parameters'] 119 assert der_encode(asn1Object) == substrate
|
D | test_rfc5280.py | 10 from pyasn1.codec.der.encoder import encode as der_encode unknown 55 assert der_encode(asn1Object) == substrate 81 assert der_encode(asn1Object) == substrate 123 assert der_encode(asn1Object) == substrate 171 assert der_encode(asn1Object) == substrate 192 assert der_encode(ev) == extn['extnValue'] 201 assert der_encode(asn1Object) == substrate 208 assert der_encode(extnValue) == extn['extnValue'] 229 assert der_encode(asn1Object) == substrate
|
D | test_rfc5755.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 56 assert der_encode(asn1Object) == substrate 66 assert der_encode(av) == attr['values'][0] 78 assert der_encode(asn1Object) == substrate 123 assert der_encode(asn1Object) == substrate 133 assert der_encode(ev) == extn['extnValue'] 158 assert der_encode(asn1Object) == substrate 169 assert der_encode(ev) == extn['extnValue']
|
D | test_rfc5990.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 38 assert der_encode(asn1Object) == substrate 45 assert der_encode(rsa_kem_p) == asn1Object['parameters'] 52 assert der_encode(kem_rsa_p) == rsa_kem_p['kem']['parameters'] 60 assert der_encode(kdf_p) == kem_rsa_p['keyDerivationFunction']['parameters'] 69 assert der_encode(asn1Object) == substrate
|
D | test_rfc6120.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 52 assert der_encode(asn1Object) == substrate 61 assert der_encode(extnValue) == extn['extnValue'] 71 assert der_encode(on) == gn_on['value'] 84 assert der_encode(asn1Object) == substrate 93 assert der_encode(extnValue) == extn['extnValue']
|
D | test_rfc7585.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 62 assert der_encode(asn1Object) == substrate 73 assert der_encode(extnValue) == extn['extnValue'] 82 assert der_encode(onValue) == gn['otherName']['value'] 95 assert der_encode(asn1Object) == substrate 107 assert der_encode(extnValue) == extn['extnValue']
|
D | test_rfc5916.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 53 assert der_encode(asn1Object) == substrate 56 der_dev_own_oid = der_encode(univ.ObjectIdentifier('1.3.6.1.4.1.22112.48.24')) 65 assert der_encode(ev) == extn['extnValue'] 81 assert der_encode(asn1Object) == substrate 94 assert der_encode(ev) == extn['extnValue']
|
D | test_rfc4985.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 52 assert der_encode(asn1Object) == substrate 61 assert der_encode(extnValue) == extn['extnValue'] 71 assert der_encode(on) == gn_on['value'] 84 assert der_encode(asn1Object) == substrate 93 assert der_encode(extnValue) == extn['extnValue']
|
D | test_rfc5917.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 57 assert der_encode(asn1Object) == substrate 61 encoded_cs = der_encode(cs) 71 assert der_encode(ev) == extn['extnValue'] 87 assert der_encode(asn1Object) == substrate 98 assert der_encode(ev) == extn['extnValue']
|
D | test_rfc4043.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 55 assert der_encode(asn1Object) == substrate 67 assert der_encode(extnValue) == extn['extnValue'] 76 assert der_encode(onValue) == gn['otherName']['value'] 89 assert der_encode(asn1Object) == substrate 102 assert der_encode(extnValue) == extn['extnValue']
|
D | test_rfc6955.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 59 assert der_encode(asn1Object) == substrate 67 assert der_encode(params) == spki_a['parameters'] 73 assert sig_a['parameters'] == der_encode(univ.Null("")) 82 assert der_encode(asn1Object) == substrate
|
D | test_rfc5934.py | 13 from pyasn1.codec.der.encoder import encode as der_encode unknown 162 assert der_encode(asn1Object) == substrate 174 assert der_encode(asn1Object) == substrate 184 assert der_encode(tsr) == eci['eContent'] 263 assert der_encode(asn1Object) == substrate 275 assert der_encode(asn1Object) == substrate 285 assert der_encode(tau) == eci['eContent']
|
D | test_rfc5084.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 36 assert der_encode(asn1Object) == substrate 50 assert der_encode(asn1Object) == substrate 101 assert der_encode(asn1Object) == substrate 109 assert der_encode(aed) == asn1Object['content']
|
D | test_rfc7914.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 46 assert der_encode(asn1Object) == substrate 56 assert der_encode(params) == ea['parameters'] 66 assert der_encode(kdfp) == kdf['parameters'] 77 assert der_encode(asn1Object) == substrate
|
D | test_rfc6032.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 45 assert der_encode(asn1Object) == substrate 51 assert der_encode(content) == asn1Object['content'] 62 assert der_encode(keyid) == attrVal0 72 assert der_encode(asn1Object) == substrate
|
D | test_rfc6010.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 35 assert der_encode(asn1Object) == substrate 42 assert der_encode(evalue) == asn1Object['extnValue'] 63 assert der_encode(asn1Object) == substrate 70 assert der_encode(evalue) == asn1Object['extnValue']
|
D | test_rfc3114.py | 12 from pyasn1.codec.der.encoder import encode as der_encode unknown 158 assert der_encode(asn1Object) == substrate 182 assert der_encode(esssl) == attr['attrValues'][0] 193 assert der_encode(scv) == cat['value'] 208 assert der_encode(ev) == extn['extnValue'] 221 assert der_encode(scv) == cat['value']
|