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

Side by Side Diff: components/cast_certificate/proto/test_suite.proto

Issue 2050983002: Cast device revocation checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test suite runner. Updated some tests. Created 4 years, 6 months 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698