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

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

Issue 2337253004: Update Token Binding code to the latest drafts (Closed)
Patch Set: Add call to CBS_len() Created 4 years, 3 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 tack = 0xF300 61 tack = 0xF300
62 supports_npn = 13172 62 supports_npn = 13172
63 channel_id = 30032 63 channel_id = 30032
64 renegotiation_info = 0xFF01 # RFC 5746
64 65
65 class HashAlgorithm: 66 class HashAlgorithm:
66 none = 0 67 none = 0
67 md5 = 1 68 md5 = 1
68 sha1 = 2 69 sha1 = 2
69 sha224 = 3 70 sha224 = 3
70 sha256 = 4 71 sha256 = 4
71 sha384 = 5 72 sha384 = 5
72 73
73 class SignatureAlgorithm: 74 class SignatureAlgorithm:
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 badUsername: "bad username",\ 460 badUsername: "bad username",\
460 badPassword: "bad password",\ 461 badPassword: "bad password",\
461 badA: "bad A",\ 462 badA: "bad A",\
462 badPremasterPadding: "bad premaster padding",\ 463 badPremasterPadding: "bad premaster padding",\
463 shortPremasterSecret: "short premaster secret",\ 464 shortPremasterSecret: "short premaster secret",\
464 badVerifyMessage: "bad verify message",\ 465 badVerifyMessage: "bad verify message",\
465 badFinished: "bad finished message",\ 466 badFinished: "bad finished message",\
466 badMAC: "bad MAC",\ 467 badMAC: "bad MAC",\
467 badPadding: "bad padding" 468 badPadding: "bad padding"
468 } 469 }
OLDNEW
« no previous file with comments | « third_party/tlslite/patches/token_binding_version.patch ('k') | third_party/tlslite/tlslite/messages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698