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

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

Issue 257513008: Populate cert_key_types on OpenSSL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Line length (try jobs on #8) Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « third_party/tlslite/tlslite/api.py ('k') | third_party/tlslite/tlslite/messages.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 # 7 #
8 # See the LICENSE file for legal information regarding use of this file. 8 # See the LICENSE file for legal information regarding use of this file.
9 9
10 """Constants used in various places.""" 10 """Constants used in various places."""
11 11
12 class CertificateType: 12 class CertificateType:
13 x509 = 0 13 x509 = 0
14 openpgp = 1 14 openpgp = 1
15 15
16 class ClientCertificateType: 16 class ClientCertificateType:
17 # http://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-pa rameters-2
17 rsa_sign = 1 18 rsa_sign = 1
18 dss_sign = 2 19 dss_sign = 2
19 rsa_fixed_dh = 3 20 rsa_fixed_dh = 3
20 dss_fixed_dh = 4 21 dss_fixed_dh = 4
22 ecdsa_sign = 64
23 rsa_fixed_ecdh = 65
24 ecdsa_fixed_ecdh = 66
21 25
22 class HandshakeType: 26 class HandshakeType:
23 hello_request = 0 27 hello_request = 0
24 client_hello = 1 28 client_hello = 1
25 server_hello = 2 29 server_hello = 2
26 certificate = 11 30 certificate = 11
27 server_key_exchange = 12 31 server_key_exchange = 12
28 certificate_request = 13 32 certificate_request = 13
29 server_hello_done = 14 33 server_hello_done = 14
30 certificate_verify = 15 34 certificate_verify = 15
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 badUsername: "bad username",\ 356 badUsername: "bad username",\
353 badPassword: "bad password",\ 357 badPassword: "bad password",\
354 badA: "bad A",\ 358 badA: "bad A",\
355 badPremasterPadding: "bad premaster padding",\ 359 badPremasterPadding: "bad premaster padding",\
356 shortPremasterSecret: "short premaster secret",\ 360 shortPremasterSecret: "short premaster secret",\
357 badVerifyMessage: "bad verify message",\ 361 badVerifyMessage: "bad verify message",\
358 badFinished: "bad finished message",\ 362 badFinished: "bad finished message",\
359 badMAC: "bad MAC",\ 363 badMAC: "bad MAC",\
360 badPadding: "bad padding" 364 badPadding: "bad padding"
361 } 365 }
OLDNEW
« no previous file with comments | « third_party/tlslite/tlslite/api.py ('k') | third_party/tlslite/tlslite/messages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698