| Index: components/cast_certificate/proto/test_suite.proto
|
| diff --git a/components/cast_certificate/proto/test_suite.proto b/components/cast_certificate/proto/test_suite.proto
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e29b1e2fb4bd5ac12c18334eeef21bd31871f4ec
|
| --- /dev/null
|
| +++ b/components/cast_certificate/proto/test_suite.proto
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +syntax = "proto2";
|
| +
|
| +option optimize_for = LITE_RUNTIME;
|
| +
|
| +package cast_certificate;
|
| +
|
| +option java_package = "com.google.cast.proto";
|
| +option java_outer_classname = "DeviceCertTestSuiteProto";
|
| +
|
| +// A suite of test data to exercise Cast device certificate verification and
|
| +// revocation logic.
|
| +message DeviceCertTestSuite {
|
| + repeated DeviceCertTest tests = 1;
|
| +}
|
| +
|
| +message DeviceCertTest {
|
| + // Human-readable description of the test.
|
| + optional string description = 1;
|
| + // Device certiticate path up to a trusted root. Root is not included.
|
| + repeated bytes der_cert_path = 2;
|
| + // CRL bundle if revocation check is expected.
|
| + optional bytes crl_bundle = 3;
|
| + // Expected result of the certificate verification.
|
| + optional bool path_is_valid = 4;
|
| + // Time at which the verification should be done.
|
| + optional uint64 verification_time_millis = 5;
|
| +}
|
|
|