Home
last modified time | relevance | path

Searched +defs:cert +defs:path (Results 1 – 25 of 570) sorted by relevance

12345678910>>...23

/aosp_15_r20/external/cronet/net/cert/
H A Dcert_verify_proc_builtin.cc113 for (const auto& cert : certs) { in PEMCertValueList() local
164 const bssl::ParsedCertificate* cert, in GetEVPolicyOids()
182 const bssl::ParsedCertificate* cert) { in IsEVCandidate()
251 const bssl::CertPathBuilderResultPath& path) { in Get()
256 bssl::CertPathBuilderResultPath* path) { in GetOrCreate()
313 bssl::CertPathBuilderResultPath* path) override { in CheckPathAfterVerification()
324 bssl::CertPathBuilderResultPath* path) { in CheckPathAfterVerificationImpl()
432 bssl::CertPathBuilderResultPath* path, in CheckPathSatisfiesChromeRootConstraint()
483 void CheckChromeRootConstraints(bssl::CertPathBuilderResultPath* path) { in CheckChromeRootConstraints()
610 bool ConformsToEVPolicy(const bssl::CertPathBuilderResultPath* path) { in ConformsToEVPolicy()
[all …]
H A Dcert_verify_proc_builtin_unittest.cc111 scoped_refptr<X509Certificate> cert, in VerifyOnWorkerThread()
172 const bssl::ParsedCertificate* cert) override { in GetTrust()
176 void SyncGetIssuersOf(const bssl::ParsedCertificate* cert, in SyncGetIssuersOf()
242 std::shared_ptr<const bssl::ParsedCertificate> cert = local
269 void Verify(scoped_refptr<X509Certificate> cert, in Verify()
287 void Verify(scoped_refptr<X509Certificate> cert, in Verify()
894 std::string path = base::StringPrintf("/hung/%i", i); in TEST_F() local
903 std::string path = base::StringPrintf("/failtest/%i", i); in TEST_F() local
970 std::string path = base::StringPrintf("/hung/%i", i); in TEST_F() local
979 std::string path = base::StringPrintf("/failtest/%i", i); in TEST_F() local
[all …]
H A Dcert_verify_proc_unittest.cc158 int MockCertVerifyProc::VerifyInternal(X509Certificate* cert, in VerifyInternal()
329 int Verify(X509Certificate* cert, in Verify()
339 int Verify(X509Certificate* cert, in Verify()
346 int Verify(X509Certificate* cert, const std::string& hostname) { in Verify()
519 scoped_refptr<X509Certificate> cert = leaf->GetX509Certificate(); in TEST_P() local
559 scoped_refptr<X509Certificate> cert = leaf->GetX509Certificate(); in TEST_P() local
589 scoped_refptr<X509Certificate> cert = leaf->GetX509Certificate(); in TEST_P() local
636 scoped_refptr<X509Certificate> cert = leaf->GetX509CertificateChain(); in TEST_P() local
855 scoped_refptr<X509Certificate> cert = CreateCertificateChainFromFile( in TEST_P() local
1204 auto cert = CreateCertificateChainFromFile( in CreateCertificate() local
[all …]
/aosp_15_r20/bootable/recovery/tests/unit/
H A Dverifier_test.cpp44 static void LoadKeyFromFile(const std::string& file_name, Certificate* cert) { in LoadKeyFromFile()
62 std::string path = from_testdata_base(name); in VerifyPackageWithCertificates() local
69 static void VerifyPackageWithSingleCertificate(const std::string& name, Certificate&& cert) { in VerifyPackageWithSingleCertificate()
98 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in TEST() local
107 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in TEST() local
118 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in TEST() local
129 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in TEST() local
140 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in TEST() local
151 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in TEST() local
162 Certificate cert(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in TEST() local
[all …]
/aosp_15_r20/system/security/ondevice-signing/
H A DCertUtils.cpp41 static Result<bssl::UniquePtr<X509>> loadX509(const std::string& path) { in loadX509()
51 bssl::UniquePtr<X509> cert(rawCert); in loadX509() local
57 static bool add_ext(X509V3_CTX* context, X509* cert, int nid, const char* value) { in add_ext()
125 const std::string& path) { in createSelfSignedCertificate()
229 Result<std::vector<uint8_t>> extractPublicKeyFromX509(const std::string& path) { in extractPublicKeyFromX509()
230 auto cert = loadX509(path); in extractPublicKeyFromX509() local
/aosp_15_r20/external/libcups/cups/
H A Dtls-gnutls.c58 const char *path, /* I - Path to keychain/directory */ in cupsMakeServerCredentials()
258 const char *path, /* I - Path to keychain/directory */ in cupsSetServerCredentials()
390 gnutls_x509_crt_t cert; /* Certificate */ in httpCredentialsAreValidForName() local
453 gnutls_x509_crt_t cert; /* Certificate */ in httpCredentialsGetTrust() local
626 gnutls_x509_crt_t cert; /* Certificate */ in httpCredentialsGetExpiration() local
654 gnutls_x509_crt_t cert; /* Certificate */ in httpCredentialsString() local
711 const char *path, /* I - Keychain/PKCS#12 path */ in httpLoadCredentials()
842 const char *path, /* I - Keychain/PKCS#12 path */ in httpSaveCredentials()
900 gnutls_x509_crt_t cert; /* Certificate */ in http_gnutls_create_credential() local
H A Dtls-sspi.c79 const char *path, /* I - Keychain path or @code NULL@ for default */ in cupsMakeServerCredentials()
115 const char *path, /* I - Keychain path or @code NULL@ for default */ in cupsSetServerCredentials()
182 …PCCERT_CONTEXT cert = http_sspi_create_credential((http_credential_t *)cupsArrayFirst(credentials)… in httpCredentialsAreValidForName() local
247 PCCERT_CONTEXT cert = NULL; /* Certificate to validate */ in httpCredentialsGetTrust() local
291 …PCCERT_CONTEXT cert = http_sspi_create_credential((http_credential_t *)cupsArrayFirst(credentials)… in httpCredentialsGetExpiration() local
331 PCCERT_CONTEXT cert; /* Certificate */ in httpCredentialsString() local
412 const char *path, /* I - Keychain path or @code NULL@ for default */ in httpLoadCredentials()
536 const char *path, /* I - Keychain path or @code NULL@ for default */ in httpSaveCredentials()
2321 PCCERT_CONTEXT cert, /* I - Server certificate */ in http_sspi_verify()
H A Dtls-darwin.c79 const char *path, /* I - Keychain path or @code NULL@ for default */ in cupsMakeServerCredentials()
358 const char *path, /* I - Keychain path or @code NULL@ for default */ in cupsSetServerCredentials()
919 const char *path, /* I - Keychain path or @code NULL@ for default */ in httpLoadCredentials()
930 SecCertificateRef cert = NULL; /* Certificate */ in httpLoadCredentials() local
1036 const char *path, /* I - Keychain path or @code NULL@ for default */ in httpSaveCredentials()
1047 SecCertificateRef cert = NULL; /* Certificate */ in httpSaveCredentials() local
1982 SecCertificateRef cert; /* Certificate */ in http_cdsa_create_credential() local
2033 const char *path, /* I - Path to keychain */ in http_cdsa_open_keychain()
/aosp_15_r20/external/cronet/third_party/boringssl/src/pki/
H A Dpath_builder.cc34 std::string FingerPrintParsedCertificate(const bssl::ParsedCertificate *cert) { in FingerPrintParsedCertificate()
41 std::string CertDebugString(const ParsedCertificate *cert) { in CertDebugString()
54 for (const auto &cert : certs) { in PathDebugString() local
66 std::shared_ptr<const ParsedCertificate> cert; member
190 const ParsedCertificate *cert() const { return cert_.get(); } in cert() function in bssl::__anonfc7abc2d0111::CertIssuersIter
420 static Key GetKey(const ParsedCertificate *cert) { in GetKey()
506 CertPathIter::CertPathIter(std::shared_ptr<const ParsedCertificate> cert, in CertPathIter()
840 for (const auto &path : paths) { in AnyPathContainsError() local
878 CertPathBuilderResultPath *path = paths[best_result_index].get(); in GetBestPathVerifyError() local
906 std::shared_ptr<const ParsedCertificate> cert, TrustStore *trust_store, in CertPathBuilder()
H A Dpath_builder_unittest.cc78 CertPathBuilderResultPath *path) override { in CheckPathAfterVerification()
121 void AddCert(std::shared_ptr<const ParsedCertificate> cert) { in AddCert()
125 void SyncGetIssuersOf(const ParsedCertificate *cert, in SyncGetIssuersOf()
127 void AsyncGetIssuersOf(const ParsedCertificate *cert, in AsyncGetIssuersOf()
236 const auto &path = *result.GetBestValidPath(); in TEST_F() local
324 const auto &path = *result.GetBestValidPath(); in TEST_F() local
348 const auto &path = *result.GetBestValidPath(); in TEST_F() local
498 const auto &path = *result.GetBestValidPath(); in TEST_F() local
637 const auto &path = *result.GetBestPathPossiblyInvalid(); in TEST_F() local
666 for (const auto &cert : certs) { in TEST_F() local
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/
Dmake_ssl_certs.py221 def print_cert(path): argument
228 cert, key = make_cert_key('localhost', ext='req_x509_extensions_simple') variable
246 cert, key = make_cert_key('fakehostname', ext='req_x509_extensions_simple') variable
251 cert, key = make_cert_key('localhost', sign=True) variable
256 cert, key = make_cert_key('fakehostname', sign=True) variable
261 cert, key = make_cert_key( variable
282 cert, key = make_cert_key('allsans', sign=True, extra_san='\n'.join(extra_san)) variable
299 cert, key = make_cert_key('idnsans', sign=True, extra_san='\n'.join(extra_san)) variable
304 cert, key = make_cert_key('nosan', sign=True, ext='req_x509_extensions_nosan') variable
/aosp_15_r20/cts/tools/utils/
H A Dcertificates.py22 cert = None variable in Certificate
24 def __init__(self, cert, key): argument
34 def save_to_file(self, path): argument
39 def save_cert_to_file(self, path): argument
44 def from_file(path): argument
/aosp_15_r20/external/cronet/net/tools/cert_verify_tool/
H A Dverify_using_path_builder.cc33 bool AddPemEncodedCert(const bssl::ParsedCertificate* cert, in AddPemEncodedCert()
47 const bssl::CertPathBuilderResultPath& path) { in DumpParsedCertificateChain()
49 for (const auto& cert : path.certs) { in DumpParsedCertificateChain() local
58 std::string FingerPrintParsedCertificate(const bssl::ParsedCertificate* cert) { in FingerPrintParsedCertificate()
72 std::string SubjectFromParsedCertificate(const bssl::ParsedCertificate* cert) { in SubjectFromParsedCertificate()
89 for (const auto& cert : result_path->certs) { in PrintResultPath() local
121 std::shared_ptr<const bssl::ParsedCertificate> cert = in ParseCertificate() local
153 std::shared_ptr<const bssl::ParsedCertificate> cert = in VerifyUsingPathBuilder() local
166 std::shared_ptr<const bssl::ParsedCertificate> cert = in VerifyUsingPathBuilder() local
/aosp_15_r20/external/openscreen/cast/common/certificate/
H A Dcast_cert_validator_internal.cc45 X509* cert; member
94 Error::Code VerifyCertTime(X509* cert, const DateTime& time) { in VerifyCertTime()
111 bssl::UniquePtr<ASN1_BIT_STRING> GetKeyUsage(X509* cert) { in GetKeyUsage()
116 Error::Code VerifyCertificateChain(const std::vector<CertPathStep>& path, in VerifyCertificateChain()
357 bool GetCertValidTimeRange(X509* cert, in GetCertValidTimeRange()
454 std::vector<CertPathStep> path; in FindCertificatePath() local
H A Dcast_cert_validator.cc38 CertVerificationContextImpl(bssl::UniquePtr<EVP_PKEY> cert, in CertVerificationContextImpl()
76 CastDeviceCertPolicy GetAudioPolicy(const std::vector<X509*>& path) { in GetAudioPolicy()
99 X509* cert = path[path.size() - 1 - i]; in GetAudioPolicy() local
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/x509/
H A Dx509_test.cc1077 for (auto cert : certs) { in CertsToStack() local
1720 bssl::UniquePtr<X509> cert(X509_new()); in MakeTestCert() local
2044 for (const char *path : kGoodCerts) { in TEST() local
2046 bssl::UniquePtr<X509> cert = CertFromPEM(GetTestData(path).c_str()); in TEST() local
2065 for (const char *path : kBadCerts) { in TEST() local
2067 bssl::UniquePtr<X509> cert = CertFromPEM(GetTestData(path).c_str()); in TEST() local
2076 bssl::UniquePtr<X509> cert(CertFromPEM(kBadPSSCertPEM)); in TEST() local
2087 bssl::UniquePtr<X509> cert(CertFromPEM(kEd25519Cert)); in TEST() local
2097 bssl::UniquePtr<X509> cert(CertFromPEM(kEd25519CertNull)); in TEST() local
2111 bssl::UniquePtr<X509> cert(CertFromPEM(kX25519Cert)); in TEST() local
[all …]
/aosp_15_r20/external/boringssl/src/crypto/x509/
H A Dx509_test.cc1077 for (auto cert : certs) { in CertsToStack() local
1720 bssl::UniquePtr<X509> cert(X509_new()); in MakeTestCert() local
2044 for (const char *path : kGoodCerts) { in TEST() local
2046 bssl::UniquePtr<X509> cert = CertFromPEM(GetTestData(path).c_str()); in TEST() local
2065 for (const char *path : kBadCerts) { in TEST() local
2067 bssl::UniquePtr<X509> cert = CertFromPEM(GetTestData(path).c_str()); in TEST() local
2076 bssl::UniquePtr<X509> cert(CertFromPEM(kBadPSSCertPEM)); in TEST() local
2087 bssl::UniquePtr<X509> cert(CertFromPEM(kEd25519Cert)); in TEST() local
2097 bssl::UniquePtr<X509> cert(CertFromPEM(kEd25519CertNull)); in TEST() local
2111 bssl::UniquePtr<X509> cert(CertFromPEM(kX25519Cert)); in TEST() local
[all …]
/aosp_15_r20/external/cronet/net/test/spawned_test_server/
H A Dbase_test_server.cc75 BaseTestServer::SSLOptions::SSLOptions(ServerCertificate cert) in SSLOptions()
77 BaseTestServer::SSLOptions::SSLOptions(base::FilePath cert) in SSLOptions()
179 GURL BaseTestServer::GetURLWithUser(const std::string& path, in GetURLWithUser()
185 GURL BaseTestServer::GetURLWithUserAndPassword(const std::string& path, in GetURLWithUserAndPassword()
/aosp_15_r20/external/cronet/net/cert/internal/
H A Dpath_builder_trust_store_win_unittest.cc96 void AddCert(std::shared_ptr<const bssl::ParsedCertificate> cert) { in AddCert()
100 void SyncGetIssuersOf(const bssl::ParsedCertificate* cert, in SyncGetIssuersOf()
102 void AsyncGetIssuersOf(const bssl::ParsedCertificate* cert, in AsyncGetIssuersOf()
189 const std::shared_ptr<const bssl::ParsedCertificate>& cert, in AddToStoreWithEKURestriction()
237 const auto& path = *result.GetBestValidPath(); in TEST_F() local
/aosp_15_r20/external/pytorch/.ci/pytorch/
H A Dcreate_test_cert.py14 def genrsa(path): argument
30 def create_cert(path, C, ST, L, O, key): argument
63 def create_req(path, C, ST, L, O, key): argument
84 def sign_certificate_request(path, csr_cert, ca_cert, private_ca_key): argument
125 cert = sign_certificate_request(temp_dir + "/cert.pem", csr, ca_cert, ca_key) variable
/aosp_15_r20/cts/libs/testserver/src/android/webkit/cts/
H A DCtsTestServer.java337 public String getAbsoluteUrl(String path) { in getAbsoluteUrl()
347 public String getAssetUrl(String path) { in getAssetUrl()
359 public String getDelayedAssetUrl(String path) { in getDelayedAssetUrl()
369 public String getDelayedAssetUrl(String path, int delayMs) { in getDelayedAssetUrl()
384 public String getAuthAssetUrl(String path) { in getAuthAssetUrl()
406 public String getRedirectingAssetUrl(String path) { in getRedirectingAssetUrl()
417 public String getRedirectingAssetUrl(String path, int numRedirects) { in getRedirectingAssetUrl()
434 public String getQueryRedirectingAssetUrl(String path) { in getQueryRedirectingAssetUrl()
452 public String getSetCookieUrl(String path, String key, String value) { in getSetCookieUrl()
464 public String getSetCookieUrl(String path, String key, String value, String attributes) { in getSetCookieUrl()
[all …]
/aosp_15_r20/prebuilts/cmdline-tools/tools/lib/external/org/bouncycastle/bcpkix-jdk15on/1.67/
HDbcpkix-jdk15on-1.67.jar ... org/ org/bouncycastle/ org/bouncycastle/cert/ org/bouncycastle/cert/AttributeCertificateHolder.class ...
/aosp_15_r20/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_cred.c48 struct x509_certificate *cert, *p; in tlsv1_add_cert_der() local
158 const char *cert, const u8 *cert_blob, in tlsv1_set_cert_chain()
194 int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert, in tlsv1_set_ca_cert()
196 const char *path) in tlsv1_set_ca_cert()
258 int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert, in tlsv1_set_cert()
498 struct x509_certificate *cert; in pkcs12_certbag() local
/aosp_15_r20/external/wpa_supplicant_8/src/crypto/
H A Dtls_openssl.c415 const CERT_CONTEXT *cert; member
601 X509 *cert = NULL; in tls_cryptoapi_cert() local
704 X509 *cert; in tls_cryptoapi_ca_cert() local
1882 static int tls_match_altsubject_component(X509 *cert, int type, in tls_match_altsubject_component()
1907 static int tls_match_altsubject(X509 *cert, const char *match) in tls_match_altsubject()
2031 static int match_dn_field(const X509 *cert, int nid, const char *field, in match_dn_field()
2104 static int get_value_from_field(const X509 *cert, char *field_str, in get_value_from_field()
2164 static int tls_match_dn_field(X509 *cert, const char *match) in tls_match_dn_field()
2197 static int tls_match_suffix_helper(X509 *cert, const char *match, in tls_match_suffix_helper()
2268 static int tls_match_suffix(X509 *cert, const char *match, int full) in tls_match_suffix()
[all …]
/aosp_15_r20/external/cronet/third_party/boringssl/src/pki/testdata/ocsp_unittest/
H A Dmake_ocsp.py118 def CreateSingleResponse(cert=CERT, argument
252 def WriteStringToFile(data, path): argument
257 def ReadFileToString(path): argument

12345678910>>...23