| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 package chrome_browser_ssl; | 9 package chrome_browser_ssl; |
| 10 | 10 |
| 11 message CaptivePortalCert { | 11 message CaptivePortalCert { |
| 12 // Sha256 hash of the certificate's public key. The fingerprint is prefixed | 12 // Sha256 hash of the certificate's public key. The fingerprint is prefixed |
| 13 // with "sha256/" and encoded in base64 (same format as | 13 // with "sha256/" and encoded in base64 (same format as |
| 14 // src/net/http/transport_security_state_static.pins) | 14 // src/net/http/transport_security_state_static.pins) |
| 15 // Example: sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= | 15 // Example: sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= |
| 16 // |
| 17 // NOTE: Only leaf certs must be added here. |
| 16 optional string sha256_hash = 1; | 18 optional string sha256_hash = 1; |
| 17 } | 19 } |
| 18 | 20 |
| 19 message SSLErrorAssistantConfig { | 21 message SSLErrorAssistantConfig { |
| 20 optional uint32 version_id = 1; | 22 optional uint32 version_id = 1; |
| 21 repeated CaptivePortalCert captive_portal_cert = 2; | 23 repeated CaptivePortalCert captive_portal_cert = 2; |
| 22 } | 24 } |
| OLD | NEW |