/external/cronet/net/cert/ |
D | cert_verify_proc_android.cc | 130 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 …]
|
D | x509_util.cc | 353 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/ |
D | mtls.py | 53 _, 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/ |
D | test_x509.py | 31 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/ |
D | certificate_utils.cpp | 60 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/ |
D | test__python_rsa.py | 112 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/ |
D | test__pure_python_crypt.py | 106 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/ |
D | certificate_util.cc | 256 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()
|
D | quic_crypto_client_config.cc | 631 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/ |
D | boringssl_certificate.cc | 223 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/ |
D | parse_certificate_unittest.cc | 662 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/ |
D | ssl.rst | 483 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/ |
D | ssl.rst | 488 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/ |
D | test_x509.py | 1222 cert_bytes = load_vectors_from_file( 1225 cert = loader_func(cert_bytes, backend) 1227 assert serialized == cert_bytes
|