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

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

Issue 109563002: net: add test for TLS_FALLBACK_SCSV (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typo fix. 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 | Annotate | Revision Log
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 certificate_unknown = 46 84 certificate_unknown = 46
85 illegal_parameter = 47 85 illegal_parameter = 47
86 unknown_ca = 48 86 unknown_ca = 48
87 access_denied = 49 87 access_denied = 49
88 decode_error = 50 88 decode_error = 50
89 decrypt_error = 51 89 decrypt_error = 51
90 export_restriction = 60 90 export_restriction = 60
91 protocol_version = 70 91 protocol_version = 70
92 insufficient_security = 71 92 insufficient_security = 71
93 internal_error = 80 93 internal_error = 80
94 inappropriate_fallback = 86
94 user_canceled = 90 95 user_canceled = 90
95 no_renegotiation = 100 96 no_renegotiation = 100
96 unknown_srp_username = 120 97 unknown_srp_username = 120
97 missing_srp_username = 121 98 missing_srp_username = 121
98 untrusted_srp_parameters = 122 99 untrusted_srp_parameters = 122
99 100
100 class CipherSuite: 101 class CipherSuite:
101 TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA = 0x0050 102 TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA = 0x0050
102 TLS_SRP_SHA_WITH_AES_128_CBC_SHA = 0x0053 103 TLS_SRP_SHA_WITH_AES_128_CBC_SHA = 0x0053
103 TLS_SRP_SHA_WITH_AES_256_CBC_SHA = 0x0056 104 TLS_SRP_SHA_WITH_AES_256_CBC_SHA = 0x0056
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 badA: "bad A",\ 228 badA: "bad A",\
228 badIdentifier: "bad identifier",\ 229 badIdentifier: "bad identifier",\
229 badSharedKey: "bad sharedkey",\ 230 badSharedKey: "bad sharedkey",\
230 badPremasterPadding: "bad premaster padding",\ 231 badPremasterPadding: "bad premaster padding",\
231 shortPremasterSecret: "short premaster secret",\ 232 shortPremasterSecret: "short premaster secret",\
232 badVerifyMessage: "bad verify message",\ 233 badVerifyMessage: "bad verify message",\
233 badFinished: "bad finished message",\ 234 badFinished: "bad finished message",\
234 badMAC: "bad MAC",\ 235 badMAC: "bad MAC",\
235 badPadding: "bad padding" 236 badPadding: "bad padding"
236 } 237 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698