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

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

Issue 2205433002: Implement ALPN in tlslite. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving nextProtos back to where it was. Created 4 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 # 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 all = (20,21,22,23) 47 all = (20,21,22,23)
48 48
49 class CertificateStatusType: 49 class CertificateStatusType:
50 ocsp = 1 50 ocsp = 1
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 signed_cert_timestamps = 18 # RFC 6962 58 signed_cert_timestamps = 18 # RFC 6962
58 extended_master_secret = 23 # RFC 7627 59 extended_master_secret = 23 # RFC 7627
59 token_binding = 24 # draft-ietf-tokbind-negotiation 60 token_binding = 24 # draft-ietf-tokbind-negotiation
60 tack = 0xF300 61 tack = 0xF300
61 supports_npn = 13172 62 supports_npn = 13172
62 channel_id = 30032 63 channel_id = 30032
63 64
64 class HashAlgorithm: 65 class HashAlgorithm:
65 none = 0 66 none = 0
66 md5 = 1 67 md5 = 1
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 badUsername: "bad username",\ 459 badUsername: "bad username",\
459 badPassword: "bad password",\ 460 badPassword: "bad password",\
460 badA: "bad A",\ 461 badA: "bad A",\
461 badPremasterPadding: "bad premaster padding",\ 462 badPremasterPadding: "bad premaster padding",\
462 shortPremasterSecret: "short premaster secret",\ 463 shortPremasterSecret: "short premaster secret",\
463 badVerifyMessage: "bad verify message",\ 464 badVerifyMessage: "bad verify message",\
464 badFinished: "bad finished message",\ 465 badFinished: "bad finished message",\
465 badMAC: "bad MAC",\ 466 badMAC: "bad MAC",\
466 badPadding: "bad padding" 467 badPadding: "bad padding"
467 } 468 }
OLDNEW
« no previous file with comments | « third_party/tlslite/patches/alpn.patch ('k') | third_party/tlslite/tlslite/handshakesettings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698