Searched refs:tbs_certificate (Results 1 – 2 of 2) sorted by relevance
/external/chromium/crypto/ |
D | signature_verifier_unittest.cc | 25 const uint8 tbs_certificate[1017] = { in TEST() local 213 verifier.VerifyUpdate(tbs_certificate, sizeof(tbs_certificate)); in TEST() 224 verifier.VerifyUpdate(tbs_certificate, 256); in TEST() 225 verifier.VerifyUpdate(tbs_certificate + 256, 256); in TEST() 226 verifier.VerifyUpdate(tbs_certificate + 512, sizeof(tbs_certificate) - 512); in TEST() 231 uint8 bad_tbs_certificate[sizeof(tbs_certificate)]; in TEST() 232 memcpy(bad_tbs_certificate, tbs_certificate, sizeof(tbs_certificate)); in TEST() 262 verifier.VerifyUpdate(tbs_certificate, sizeof(tbs_certificate)); in TEST()
|
/external/chromium/net/base/ |
D | asn1_util.cc | 95 base::StringPiece tbs_certificate; in ExtractSPKIFromDERCert() local 96 if (!asn1::GetElement(&certificate, asn1::kSEQUENCE, &tbs_certificate)) in ExtractSPKIFromDERCert() 100 asn1::GetElement(&tbs_certificate, in ExtractSPKIFromDERCert() 105 if (!asn1::GetElement(&tbs_certificate, asn1::kINTEGER, NULL)) in ExtractSPKIFromDERCert() 108 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() 111 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() 114 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() 117 if (!asn1::GetElement(&tbs_certificate, asn1::kSEQUENCE, NULL)) in ExtractSPKIFromDERCert() 120 if (!asn1::ParseElement(&tbs_certificate, asn1::kSEQUENCE, spki_out, NULL)) in ExtractSPKIFromDERCert()
|