OLD | NEW |
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 Loading... |
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 in RFC 6962 |
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 Loading... |
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 } |
OLD | NEW |