Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: third_party/tlslite/tlslite/constants.py

Issue 3141026: Reintegrate certificate selection in HttpNetworkTransaction DoLoop (Closed)
Patch Set: Address Wan-Teh's comments and rebase on top of trunk Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 """Constants used in various places.""" 1 """Constants used in various places."""
2 2
3 class CertificateType: 3 class CertificateType:
4 x509 = 0 4 x509 = 0
5 openpgp = 1 5 openpgp = 1
6 cryptoID = 2 6 cryptoID = 2
7 7
8 class ClientCertificateType:
9 rsa_sign = 1
10 dss_sign = 2
11 rsa_fixed_dh = 3
12 dss_fixed_dh = 4
13
8 class HandshakeType: 14 class HandshakeType:
9 hello_request = 0 15 hello_request = 0
10 client_hello = 1 16 client_hello = 1
11 server_hello = 2 17 server_hello = 2
12 certificate = 11 18 certificate = 11
13 server_key_exchange = 12 19 server_key_exchange = 12
14 certificate_request = 13 20 certificate_request = 13
15 server_hello_done = 14 21 server_hello_done = 14
16 certificate_verify = 15 22 certificate_verify = 15
17 client_key_exchange = 16 23 client_key_exchange = 16
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 badA: "bad A",\ 222 badA: "bad A",\
217 badIdentifier: "bad identifier",\ 223 badIdentifier: "bad identifier",\
218 badSharedKey: "bad sharedkey",\ 224 badSharedKey: "bad sharedkey",\
219 badPremasterPadding: "bad premaster padding",\ 225 badPremasterPadding: "bad premaster padding",\
220 shortPremasterSecret: "short premaster secret",\ 226 shortPremasterSecret: "short premaster secret",\
221 badVerifyMessage: "bad verify message",\ 227 badVerifyMessage: "bad verify message",\
222 badFinished: "bad finished message",\ 228 badFinished: "bad finished message",\
223 badMAC: "bad MAC",\ 229 badMAC: "bad MAC",\
224 badPadding: "bad padding" 230 badPadding: "bad padding"
225 } 231 }
OLDNEW
« no previous file with comments | « third_party/tlslite/patches/send_certificate_types.patch ('k') | third_party/tlslite/tlslite/messages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698