Chromium Code Reviews| 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 // Data structures related to Cast device certificate revocation infrastructure. | |
| 6 | |
| 7 // This proto must be kept in sync with google3. | |
| 8 | |
| 9 syntax = "proto2"; | |
| 10 | |
| 11 option optimize_for = LITE_RUNTIME; | |
| 12 | |
| 13 package cast_certificate; | |
| 14 | |
| 15 message CrlBundle { | |
| 16 // List of supported versions of the same revocation list. | |
| 17 repeated Crl crls = 1; | |
| 18 } | |
| 19 | |
| 20 message Crl { | |
| 21 // Octet string of serialized TbsCrl protobuf. | |
| 22 optional bytes tbs_crl = 1; | |
| 23 | |
| 24 // Binary ASN.1 DER encoding of the signer's certificate. | |
| 25 optional bytes signer_cert = 2; | |
|
eroman
2016/07/12 21:22:01
DESIGN: is this system going to allow for delegati
sheretov
2016/07/12 21:59:04
The two-level hierarchy is for operational reasons
ryanchung
2016/07/14 16:15:26
The CRL will be signed by an ICA issued by the CRL
eroman
2016/07/15 22:52:48
Thanks sheretov/ryanchung for the explanations!
(A
ryanchung
2016/07/18 23:39:07
I would prefer the ICAs to be short-lived (~ 1 wee
| |
| 26 | |
| 27 // Signature calculated over the contents of the tbs_crl field. | |
|
eroman
2016/07/12 21:22:01
Add an explanation that the signature algorithm is
sheretov
2016/07/12 21:59:04
We've gone down that road (AlgorithmIDs sprinkled
eroman
2016/07/15 22:52:48
Fair enough, thanks for the explanation.
| |
| 28 optional bytes signature = 3; | |
| 29 } | |
| 30 | |
| 31 message TbsCrl { | |
| 32 // Version 0 algorithms: | |
| 33 // revoked_public_key_hashes: SHA-256 | |
| 34 // SerialNumberRange.issuer_public_key_hash: SHA-256 | |
| 35 // Crl.signature: RSA-PKCS1 V1.5 with SHA-256 | |
| 36 optional uint64 version = 1 [default = 0]; | |
| 37 optional uint64 issuance_time_millis = 2; | |
| 38 optional uint64 validity_period_millis = 3; | |
| 39 repeated bytes revoked_public_key_hashes = 4; | |
| 40 repeated SerialNumberRange revoked_serial_number_ranges = 5; | |
| 41 } | |
| 42 | |
| 43 message SerialNumberRange { | |
| 44 optional bytes issuer_public_key_hash = 1; | |
| 45 optional uint64 first_serial_number = 2; | |
| 46 optional uint64 last_serial_number = 3; | |
|
eroman
2016/07/12 21:22:01
Document whether this is inclusive or exclusive (i
ryanchung
2016/07/14 16:15:26
Done.
| |
| 47 } | |
| OLD | NEW |