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

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

Issue 2800853008: Add a dedicated error code for TLS 1.3 interference. (Closed)
Patch Set: mpearson comment Created 3 years, 8 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 # Authors: 1 # Authors:
2 # Trevor Perrin 2 # Trevor Perrin
3 # Google - defining ClientCertificateType 3 # Google - defining ClientCertificateType
4 # Google (adapted by Sam Rushing) - NPN support 4 # Google (adapted by Sam Rushing) - NPN support
5 # Dimitris Moraitis - Anon ciphersuites 5 # Dimitris Moraitis - Anon ciphersuites
6 # Dave Baggett (Arcode Corporation) - canonicalCipherName 6 # Dave Baggett (Arcode Corporation) - canonicalCipherName
7 # Yngve Pettersen (ported by Paul Sokolovsky) - TLS 1.2 7 # Yngve Pettersen (ported by Paul Sokolovsky) - TLS 1.2
8 # 8 #
9 # See the LICENSE file for legal information regarding use of this file. 9 # See the LICENSE file for legal information regarding use of this file.
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 class ExtensionType: # RFC 6066 / 4366 52 class ExtensionType: # RFC 6066 / 4366
53 server_name = 0 # RFC 6066 / 4366 53 server_name = 0 # RFC 6066 / 4366
54 status_request = 5 # RFC 6066 / 4366 54 status_request = 5 # RFC 6066 / 4366
55 srp = 12 # RFC 5054 55 srp = 12 # RFC 5054
56 cert_type = 9 # RFC 6091 56 cert_type = 9 # RFC 6091
57 alpn = 16 # RFC 7301 57 alpn = 16 # RFC 7301
58 signed_cert_timestamps = 18 # RFC 6962 58 signed_cert_timestamps = 18 # RFC 6962
59 extended_master_secret = 23 # RFC 7627 59 extended_master_secret = 23 # RFC 7627
60 token_binding = 24 # draft-ietf-tokbind-negotiation 60 token_binding = 24 # draft-ietf-tokbind-negotiation
61 supported_versions = 43 # draft-ietf-tls-tls13-18
61 tack = 0xF300 62 tack = 0xF300
62 supports_npn = 13172 63 supports_npn = 13172
63 channel_id = 30032 64 channel_id = 30032
64 renegotiation_info = 0xFF01 # RFC 5746 65 renegotiation_info = 0xFF01 # RFC 5746
65 66
66 class HashAlgorithm: 67 class HashAlgorithm:
67 none = 0 68 none = 0
68 md5 = 1 69 md5 = 1
69 sha1 = 2 70 sha1 = 2
70 sha224 = 3 71 sha224 = 3
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 badUsername: "bad username",\ 461 badUsername: "bad username",\
461 badPassword: "bad password",\ 462 badPassword: "bad password",\
462 badA: "bad A",\ 463 badA: "bad A",\
463 badPremasterPadding: "bad premaster padding",\ 464 badPremasterPadding: "bad premaster padding",\
464 shortPremasterSecret: "short premaster secret",\ 465 shortPremasterSecret: "short premaster secret",\
465 badVerifyMessage: "bad verify message",\ 466 badVerifyMessage: "bad verify message",\
466 badFinished: "bad finished message",\ 467 badFinished: "bad finished message",\
467 badMAC: "bad MAC",\ 468 badMAC: "bad MAC",\
468 badPadding: "bad padding" 469 badPadding: "bad padding"
469 } 470 }
OLDNEW
« no previous file with comments | « third_party/tlslite/patches/tls13_intolerance.patch ('k') | third_party/tlslite/tlslite/messages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698