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

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

Issue 108113006: Revert of Extract Certificate Transparency SCTs from stapled OCSP responses (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extract_scts
Patch Set: Created 7 years 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
« no previous file with comments | « third_party/tlslite/tlslite/TLSConnection.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 """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: 8 class ClientCertificateType:
9 rsa_sign = 1 9 rsa_sign = 1
10 dss_sign = 2 10 dss_sign = 2
11 rsa_fixed_dh = 3 11 rsa_fixed_dh = 3
12 dss_fixed_dh = 4 12 dss_fixed_dh = 4
13 13
14 class HandshakeType: 14 class HandshakeType:
15 hello_request = 0 15 hello_request = 0
16 client_hello = 1 16 client_hello = 1
17 server_hello = 2 17 server_hello = 2
18 certificate = 11 18 certificate = 11
19 server_key_exchange = 12 19 server_key_exchange = 12
20 certificate_request = 13 20 certificate_request = 13
21 server_hello_done = 14 21 server_hello_done = 14
22 certificate_verify = 15 22 certificate_verify = 15
23 client_key_exchange = 16 23 client_key_exchange = 16
24 finished = 20 24 finished = 20
25 certificate_status = 22
26 encrypted_extensions = 203 25 encrypted_extensions = 203
27 26
28 class ContentType: 27 class ContentType:
29 change_cipher_spec = 20 28 change_cipher_spec = 20
30 alert = 21 29 alert = 21
31 handshake = 22 30 handshake = 22
32 application_data = 23 31 application_data = 23
33 all = (20,21,22,23) 32 all = (20,21,22,23)
34 33
35 class CertificateStatusType:
36 ocsp = 1
37
38 class ExtensionType: 34 class ExtensionType:
39 status_request = 5 # OCSP stapling
40 signed_cert_timestamps = 18 # signed_certificate_timestamp in RFC 6962 35 signed_cert_timestamps = 18 # signed_certificate_timestamp in RFC 6962
41 channel_id = 30031 36 channel_id = 30031
42 37
43 class AlertLevel: 38 class AlertLevel:
44 warning = 1 39 warning = 1
45 fatal = 2 40 fatal = 2
46 41
47 class AlertDescription: 42 class AlertDescription:
48 """ 43 """
49 @cvar bad_record_mac: A TLS record failed to decrypt properly. 44 @cvar bad_record_mac: A TLS record failed to decrypt properly.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 badA: "bad A",\ 228 badA: "bad A",\
234 badIdentifier: "bad identifier",\ 229 badIdentifier: "bad identifier",\
235 badSharedKey: "bad sharedkey",\ 230 badSharedKey: "bad sharedkey",\
236 badPremasterPadding: "bad premaster padding",\ 231 badPremasterPadding: "bad premaster padding",\
237 shortPremasterSecret: "short premaster secret",\ 232 shortPremasterSecret: "short premaster secret",\
238 badVerifyMessage: "bad verify message",\ 233 badVerifyMessage: "bad verify message",\
239 badFinished: "bad finished message",\ 234 badFinished: "bad finished message",\
240 badMAC: "bad MAC",\ 235 badMAC: "bad MAC",\
241 badPadding: "bad padding" 236 badPadding: "bad padding"
242 } 237 }
OLDNEW
« no previous file with comments | « third_party/tlslite/tlslite/TLSConnection.py ('k') | third_party/tlslite/tlslite/messages.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698