Searched refs:tbs_crl (Results 1 – 4 of 4) sorted by relevance
/external/openscreen/cast/test/ |
D | make_crl_tests.cc | 22 std::string* AddRevokedPublicKeyHash(TbsCrl* tbs_crl, X509* cert) { in AddRevokedPublicKeyHash() argument 23 std::string* pubkey_hash = tbs_crl->add_revoked_public_key_hashes(); in AddRevokedPublicKeyHash() 29 void AddSerialNumberRange(TbsCrl* tbs_crl, in AddSerialNumberRange() argument 33 SerialNumberRange* serial_range = tbs_crl->add_revoked_serial_number_ranges(); in AddSerialNumberRange() 45 TbsCrl tbs_crl; in MakeTbsCrl() local 46 tbs_crl.set_version(0); in MakeTbsCrl() 47 tbs_crl.set_not_before_seconds(not_before); in MakeTbsCrl() 48 tbs_crl.set_not_after_seconds(not_after); in MakeTbsCrl() 51 std::string* pubkey_hash = AddRevokedPublicKeyHash(&tbs_crl, device_cert); in MakeTbsCrl() 61 AddSerialNumberRange(&tbs_crl, inter_cert, serial + 100, serial + 200); in MakeTbsCrl() [all …]
|
/external/openscreen/cast/common/certificate/ |
D | cast_crl.cc | 74 const TbsCrl& tbs_crl, in VerifyCRL() argument 88 ConstDataSpanFromString(crl.tbs_crl()), in VerifyCRL() 95 if (!DateTimeFromSeconds(tbs_crl.not_before_seconds(), ¬_before)) { in VerifyCRL() 99 if (!DateTimeFromSeconds(tbs_crl.not_after_seconds(), ¬_after)) { in VerifyCRL() 127 for (const auto& range : tbs_crl.revoked_serial_number_ranges()) { in VerifyCRL() 140 CastCRL::CastCRL(const TbsCrl& tbs_crl, const DateTime& overall_not_after) { in CastCRL() argument 144 DateTimeFromSeconds(tbs_crl.not_before_seconds(), ¬_before_); in CastCRL() 145 DateTimeFromSeconds(tbs_crl.not_after_seconds(), ¬_after_); in CastCRL() 151 for (const auto& hash : tbs_crl.revoked_public_key_hashes()) { in CastCRL() 156 for (const auto& range : tbs_crl.revoked_serial_number_ranges()) { in CastCRL() [all …]
|
D | cast_crl.h | 34 CastCRL(const TbsCrl& tbs_crl, const DateTime& overall_not_after);
|
/external/openscreen/cast/common/certificate/proto/ |
D | revocation.proto | 22 optional bytes tbs_crl = 1; field 27 // Signature calculated over the contents of the tbs_crl field. Signature
|