| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto2"; |
| 6 |
| 7 option optimize_for = LITE_RUNTIME; |
| 8 |
| 9 package cast_certificate; |
| 10 |
| 11 option java_package = "com.google.cast.proto"; |
| 12 option java_outer_classname = "DeviceCertTestSuiteProto"; |
| 13 |
| 14 // A suite of test data to exercise Cast device certificate verification and |
| 15 // revocation logic. |
| 16 message DeviceCertTestSuite { |
| 17 repeated DeviceCertTest tests = 1; |
| 18 } |
| 19 |
| 20 message DeviceCertTest { |
| 21 // Human-readable description of the test. |
| 22 optional string description = 1; |
| 23 // Device certiticate path up to a trusted root. Root is not included. |
| 24 repeated bytes der_cert_path = 2; |
| 25 // CRL bundle if revocation check is expected. |
| 26 optional bytes crl_bundle = 3; |
| 27 // Expected result of the certificate verification. |
| 28 optional bool path_is_valid = 4; |
| 29 // Time at which the verification should be done. |
| 30 optional uint64 verification_time_millis = 5; |
| 31 } |
| OLD | NEW |