Home
last modified time | relevance | path

Searched refs:cert_bytes (Results 1 – 14 of 14) sorted by relevance

/external/cronet/net/cert/
Dcert_verify_proc_android.cc130 std::vector<std::string> cert_bytes; in AttemptVerificationAfterAIAFetch() local
132 cert_bytes.push_back(cert->der_cert().AsString()); in AttemptVerificationAfterAIAFetch()
138 android::VerifyX509CertChain(cert_bytes, kAuthType, hostname, &status, in AttemptVerificationAfterAIAFetch()
165 const std::vector<std::string>& cert_bytes, in TryVerifyWithAIAFetching() argument
177 for (const auto& cert : cert_bytes) { in TryVerifyWithAIAFetching()
246 const std::vector<std::string>& cert_bytes, in VerifyFromAndroidTrustManager() argument
254 android::VerifyX509CertChain(cert_bytes, kAuthType, hostname, &status, in VerifyFromAndroidTrustManager()
262 status = TryVerifyWithAIAFetching(cert_bytes, hostname, in VerifyFromAndroidTrustManager()
366 std::vector<std::string> cert_bytes; in VerifyInternal() local
367 GetChainDEREncodedBytes(cert, &cert_bytes); in VerifyInternal()
[all …]
Dx509_util.cc353 uint8_t* cert_bytes; in CreateSelfSignedCert() local
370 !CBB_finish(cbb.get(), &cert_bytes, &cert_len)) { in CreateSelfSignedCert()
373 bssl::UniquePtr<uint8_t> delete_cert_bytes(cert_bytes); in CreateSelfSignedCert()
374 der_encoded->assign(reinterpret_cast<char*>(cert_bytes), cert_len); in CreateSelfSignedCert()
/external/python/google-auth-library-python/google/auth/transport/
Dmtls.py53 _, cert_bytes, key_bytes = _mtls_helper.get_client_cert_and_key()
58 return cert_bytes, key_bytes
91 cert_bytes,
96 cert_file.write(cert_bytes)
/external/python/asn1crypto/tests/
Dtest_x509.py31 cert_bytes = f.read()
32 if pem.detect(cert_bytes):
33 _, _, cert_bytes = pem.unarmor(cert_bytes)
34 return x509.Certificate.load(cert_bytes)
3513 cert_bytes = f.read()
3514 if pem.detect(cert_bytes):
3515 _, _, cert_bytes = pem.unarmor(cert_bytes)
3516 trusted_cert = x509.TrustedCertificate.load(cert_bytes)
3545 cert_bytes = f.read()
3546 if pem.detect(cert_bytes):
[all …]
/external/wpa_supplicant_8/wpa_supplicant/aidl/
Dcertificate_utils.cpp60 const std::vector<uint8_t>& cert_bytes) { in convertDerCertToPemOrPassthrough() argument
63 const uint8_t* cert_current = cert_bytes.data(); in convertDerCertToPemOrPassthrough()
64 const uint8_t* cert_end = cert_current + cert_bytes.size(); in convertDerCertToPemOrPassthrough()
73 return cert_bytes; in convertDerCertToPemOrPassthrough()
/external/python/google-auth-library-python/tests/crypt/
Dtest__python_rsa.py112 cert_bytes = PUBLIC_CERT_BYTES
113 true_der = rsa.pem.load_pem(cert_bytes, "CERTIFICATE")
120 _python_rsa.RSAVerifier.from_string(cert_bytes)
121 load_pem.assert_called_once_with(cert_bytes, "CERTIFICATE")
/external/python/oauth2client/tests/
Dtest__pure_python_crypt.py106 cert_bytes = self._load_public_cert_bytes()
107 true_der = rsa.pem.load_pem(cert_bytes, 'CERTIFICATE')
111 crypt.RsaVerifier.from_string(cert_bytes, is_x509_cert=True)
112 load_pem.assert_called_once_with(cert_bytes, 'CERTIFICATE')
/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
Dcertificate_util.cc256 uint8_t* cert_bytes; in CreateSelfSignedCertificate() local
273 !CBB_finish(cbb.get(), &cert_bytes, &cert_len)) { in CreateSelfSignedCertificate()
276 bssl::UniquePtr<uint8_t> delete_cert_bytes(cert_bytes); in CreateSelfSignedCertificate()
277 return std::string(reinterpret_cast<char*>(cert_bytes), cert_len); in CreateSelfSignedCertificate()
Dquic_crypto_client_config.cc631 absl::string_view proof, cert_bytes, cert_sct; in CacheNewServerConfig() local
633 bool has_cert = message.GetStringPiece(kCertificateTag, &cert_bytes); in CacheNewServerConfig()
636 if (!CertCompressor::DecompressChain(cert_bytes, cached_certs, &certs)) { in CacheNewServerConfig()
/external/webrtc/rtc_base/
Dboringssl_certificate.cc223 uint8_t* cert_bytes; in MakeCertificate() local
240 !CBB_finish(cbb.get(), &cert_bytes, &cert_len)) { in MakeCertificate()
243 bssl::UniquePtr<uint8_t> delete_cert_bytes(cert_bytes); in MakeCertificate()
247 CRYPTO_BUFFER_new(cert_bytes, cert_len, openssl::GetBufferPool())); in MakeCertificate()
/external/cronet/net/cert/pki/
Dparse_certificate_unittest.cc662 std::string cert_bytes; in GetCrlDps() local
665 {"CERTIFICATE", &cert_bytes}, in GetCrlDps()
674 reinterpret_cast<const uint8_t*>(cert_bytes.data()), in GetCrlDps()
675 cert_bytes.size(), nullptr)), in GetCrlDps()
/external/python/cpython2/Doc/library/
Dssl.rst483 The function returns a list of (cert_bytes, encoding_type, trust) tuples.
484 The encoding_type specifies the encoding of cert_bytes. It is either
506 The function returns a list of (cert_bytes, encoding_type, trust) tuples.
507 The encoding_type specifies the encoding of cert_bytes. It is either
/external/python/cpython3/Doc/library/
Dssl.rst488 The function returns a list of (cert_bytes, encoding_type, trust) tuples.
489 The encoding_type specifies the encoding of cert_bytes. It is either
511 The function returns a list of (cert_bytes, encoding_type, trust) tuples.
512 The encoding_type specifies the encoding of cert_bytes. It is either
/external/python/cryptography/tests/x509/
Dtest_x509.py1222 cert_bytes = load_vectors_from_file(
1225 cert = loader_func(cert_bytes, backend)
1227 assert serialized == cert_bytes