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

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

Issue 83333003: Add support for fetching Certificate Transparency SCTs over a TLS extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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
(...skipping 14 matching lines...) Expand all
25 encrypted_extensions = 203 25 encrypted_extensions = 203
26 26
27 class ContentType: 27 class ContentType:
28 change_cipher_spec = 20 28 change_cipher_spec = 20
29 alert = 21 29 alert = 21
30 handshake = 22 30 handshake = 22
31 application_data = 23 31 application_data = 23
32 all = (20,21,22,23) 32 all = (20,21,22,23)
33 33
34 class ExtensionType: 34 class ExtensionType:
35 signed_cert_timestamps = 18 # signed_certificate_timestamp extension
wtc 2013/11/26 17:32:55 This constant has a self-explanatory name, so it d
ekasper 2013/11/26 19:33:54 Yep, to map to the official name. Added a referenc
35 channel_id = 30031 36 channel_id = 30031
36 37
37 class AlertLevel: 38 class AlertLevel:
38 warning = 1 39 warning = 1
39 fatal = 2 40 fatal = 2
40 41
41 class AlertDescription: 42 class AlertDescription:
42 """ 43 """
43 @cvar bad_record_mac: A TLS record failed to decrypt properly. 44 @cvar bad_record_mac: A TLS record failed to decrypt properly.
44 45
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 badA: "bad A",\ 227 badA: "bad A",\
227 badIdentifier: "bad identifier",\ 228 badIdentifier: "bad identifier",\
228 badSharedKey: "bad sharedkey",\ 229 badSharedKey: "bad sharedkey",\
229 badPremasterPadding: "bad premaster padding",\ 230 badPremasterPadding: "bad premaster padding",\
230 shortPremasterSecret: "short premaster secret",\ 231 shortPremasterSecret: "short premaster secret",\
231 badVerifyMessage: "bad verify message",\ 232 badVerifyMessage: "bad verify message",\
232 badFinished: "bad finished message",\ 233 badFinished: "bad finished message",\
233 badMAC: "bad MAC",\ 234 badMAC: "bad MAC",\
234 badPadding: "bad padding" 235 badPadding: "bad padding"
235 } 236 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698