Home
last modified time | relevance | path

Searched refs:spki_bytes (Results 1 – 19 of 19) sorted by relevance

/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cronet/android/test/
H A Dmock_cert_verifier.cc34 base::StringPiece spki_bytes; in CalculatePublicKeySha256() local
37 &spki_bytes)) { in CalculatePublicKeySha256()
43 crypto::SHA256HashString(spki_bytes, out_hash_value->data(), in CalculatePublicKeySha256()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/certificate_provider/
H A Dthread_safe_certificate_map.cc23 base::StringPiece spki_bytes; in GetSubjectPublicKeyInfo() local
26 &spki_bytes)) { in GetSubjectPublicKeyInfo()
29 return spki_bytes.as_string(); in GetSubjectPublicKeyInfo()
H A Dtest_certificate_provider_extension.cc154 base::StringPiece spki_bytes; in GetCertificateSpki() local
157 &spki_bytes)) { in GetCertificateSpki()
160 return spki_bytes.as_string(); in GetCertificateSpki()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/arc/enterprise/cert_store/
H A Dsecurity_token_operation_bridge_unittest.cc142 base::StringPiece spki_bytes; in spki() local
146 &spki_bytes)) { in spki()
149 return spki_bytes.as_string(); in spki()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/cert/
H A Dcert_verify_proc_ios.cc267 base::StringPiece spki_bytes; in GetCertChainInfo() local
272 &spki_bytes)) { in GetCertChainInfo()
278 CC_SHA256(spki_bytes.data(), spki_bytes.size(), sha256.data()); in GetCertChainInfo()
H A Dcert_verify_proc_android.cc307 base::StringPiece spki_bytes; in VerifyFromAndroidTrustManager() local
308 if (!asn1::ExtractSPKIFromDERCert(*it, &spki_bytes)) { in VerifyFromAndroidTrustManager()
314 crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); in VerifyFromAndroidTrustManager()
H A Dcert_verify_proc_mac.cc526 base::StringPiece spki_bytes; in AppendPublicKeyHashesAndUpdateKnownRoot() local
527 if (!asn1::ExtractSPKIFromDERCert(der_bytes, &spki_bytes)) in AppendPublicKeyHashesAndUpdateKnownRoot()
531 CC_SHA256(spki_bytes.data(), spki_bytes.size(), sha256.data()); in AppendPublicKeyHashesAndUpdateKnownRoot()
H A Dcert_verify_proc_win.cc564 base::StringPiece spki_bytes; in AppendPublicKeyHashesAndUpdateKnownRoot() local
565 if (!asn1::ExtractSPKIFromDERCert(der_bytes, &spki_bytes)) in AppendPublicKeyHashesAndUpdateKnownRoot()
569 crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); in AppendPublicKeyHashesAndUpdateKnownRoot()
H A Dcert_verify_proc_builtin.cc413 void AppendPublicKeyHashes(const der::Input& spki_bytes, in AppendPublicKeyHashes() argument
416 crypto::SHA256HashString(spki_bytes.AsStringPiece(), sha256.data(), in AppendPublicKeyHashes()
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/cert/
H A Dcert_verify_proc_ios.cc268 base::StringPiece spki_bytes; in GetCertChainInfo() local
273 &spki_bytes)) { in GetCertChainInfo()
279 CC_SHA256(spki_bytes.data(), spki_bytes.size(), sha256.data()); in GetCertChainInfo()
H A Dcert_verify_proc_android.cc308 base::StringPiece spki_bytes; in VerifyFromAndroidTrustManager() local
309 if (!asn1::ExtractSPKIFromDERCert(*it, &spki_bytes)) { in VerifyFromAndroidTrustManager()
315 crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); in VerifyFromAndroidTrustManager()
H A Dcert_verify_proc_mac.cc518 base::StringPiece spki_bytes; in AppendPublicKeyHashesAndUpdateKnownRoot() local
519 if (!asn1::ExtractSPKIFromDERCert(der_bytes, &spki_bytes)) in AppendPublicKeyHashesAndUpdateKnownRoot()
523 CC_SHA256(spki_bytes.data(), spki_bytes.size(), sha256.data()); in AppendPublicKeyHashesAndUpdateKnownRoot()
H A Dcert_verify_proc_win.cc564 base::StringPiece spki_bytes; in AppendPublicKeyHashesAndUpdateKnownRoot() local
565 if (!asn1::ExtractSPKIFromDERCert(der_bytes, &spki_bytes)) in AppendPublicKeyHashesAndUpdateKnownRoot()
569 crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); in AppendPublicKeyHashesAndUpdateKnownRoot()
H A Dcert_verify_proc_builtin.cc413 void AppendPublicKeyHashes(const der::Input& spki_bytes, in AppendPublicKeyHashes() argument
416 crypto::SHA256HashString(spki_bytes.AsStringPiece(), sha256.data(), in AppendPublicKeyHashes()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/webcrypto/algorithms/
H A Drsa_pss_unittest.cc192 std::vector<uint8_t> spki_bytes = in TEST_F() local
196 ImportKey(blink::kWebCryptoKeyFormatSpki, CryptoData(spki_bytes), in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/webcrypto/algorithms/
H A Drsa_pss_unittest.cc193 std::vector<uint8_t> spki_bytes = in TEST_F() local
197 ImportKey(blink::kWebCryptoKeyFormatSpki, CryptoData(spki_bytes), in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cronet/ios/test/
H A Dcronet_test_base.mm300 base::StringPiece spki_bytes;
303 &spki_bytes)) {
309 crypto::SHA256HashString(spki_bytes, out_hash_value->data(),
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/platform_keys/
H A Dplatform_keys_service_nss.cc1655 base::StringPiece spki_bytes; in GetSubjectPublicKeyInfo() local
1658 &spki_bytes)) in GetSubjectPublicKeyInfo()
1660 return spki_bytes.as_string(); in GetSubjectPublicKeyInfo()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ssl/
H A Dssl_browsertest.cc315 base::StringPiece spki_bytes; in GetSPKIHash() local
317 net::x509_util::CryptoBufferAsStringPiece(cert), &spki_bytes)); in GetSPKIHash()
319 crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); in GetSPKIHash()