Home
last modified time | relevance | path

Searched defs:certs (Results 1 – 25 of 1224) sorted by relevance

12345678910>>...49

/aosp_15_r20/external/nist-pkits/src/libcore/java/security/cert/
H A DX509CertificateNistPkitsTest.java104 X509Certificate[] certs = new X509Certificate[names.length]; in getCertificates() local
138 X509Certificate[] certs = getCertificates(f, pathCerts); in getTestPath() local
144 X509Certificate[] certs = getCertificates(f, pathCerts); in getTestPathParams() local
170 private void assertInvalidPath(String trustAnchor, String[] certs, String[] crls) in assertInvalidPath()
175 private void assertInvalidPath(String trustAnchor, String[] path, String[] certs, in assertInvalidPath()
192 private void assertValidPath(String trustAnchor, String[] certs, String[] crls) in assertValidPath()
198 private void assertValidPath(String trustAnchor, String[] path, String[] certs, String[] crls) in assertValidPath()
216 String[] certs = { in testSignatureVerification_ValidSignaturesTest1() local
233 String[] certs = { in testSignatureVerification_InvalidCASignatureTest2() local
250 String[] certs = { in testSignatureVerification_InvalidEESignatureTest3() local
[all …]
/aosp_15_r20/external/cronet/third_party/boringssl/src/pki/testdata/nist-pkits/
H A Dpkits_testcases-inl.h23 const char* const certs[] = {"TrustAnchorRootCertificate", "GoodCACert", in WRAPPED_TYPED_TEST_P() local
36 const char* const certs[] = {"TrustAnchorRootCertificate", "BadSignedCACert", in WRAPPED_TYPED_TEST_P() local
49 const char* const certs[] = {"TrustAnchorRootCertificate", "GoodCACert", in WRAPPED_TYPED_TEST_P() local
62 const char* const certs[] = {"TrustAnchorRootCertificate", "DSACACert", in WRAPPED_TYPED_TEST_P() local
75 const char* const certs[] = {"TrustAnchorRootCertificate", "DSACACert", in WRAPPED_TYPED_TEST_P() local
90 const char* const certs[] = {"TrustAnchorRootCertificate", "DSACACert", in WRAPPED_TYPED_TEST_P() local
115 const char* const certs[] = {"TrustAnchorRootCertificate", in WRAPPED_TYPED_TEST_P() local
129 const char* const certs[] = {"TrustAnchorRootCertificate", "GoodCACert", in WRAPPED_TYPED_TEST_P() local
142 const char* const certs[] = {"TrustAnchorRootCertificate", "GoodCACert", in WRAPPED_TYPED_TEST_P() local
155 const char* const certs[] = {"TrustAnchorRootCertificate", "GoodCACert", in WRAPPED_TYPED_TEST_P() local
[all …]
/aosp_15_r20/external/grpc-grpc-java/xds/src/test/java/io/grpc/xds/internal/security/trust/
H A DXdsX509TrustManagerTest.java76 X509Certificate[] certs = in nullCertContextTest() local
85 X509Certificate[] certs = in emptySanListContextTest() local
127 X509Certificate[] certs = in noSansInPeerCerts() local
148 X509Certificate[] certs = in oneSanInPeerCertsVerifies() local
165 X509Certificate[] certs = in oneSanInPeerCertsVerifies_differentCase_expectException() local
183 X509Certificate[] certs = in oneSanInPeerCertsVerifies_ignoreCase() local
199 X509Certificate[] certs = in oneSanInPeerCerts_prefix() local
213 X509Certificate[] certs = in oneSanInPeerCertsPrefix_differentCase_expectException() local
234 X509Certificate[] certs = in oneSanInPeerCerts_prefixIgnoreCase() local
247 X509Certificate[] certs = in oneSanInPeerCerts_suffix() local
[all …]
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/
H A DHostnameVerifierTest.java89 X509Certificate[] certs = {}; in verify() local
123 X509Certificate[] certs = {}; in verifyCn() local
159 X509Certificate[] certs = {}; in verifyNonAsciiCn() local
193 X509Certificate[] certs = {}; in verifySubjectAlt() local
235 X509Certificate[] certs = {}; in verifyNonAsciiSubjectAlt() local
276 X509Certificate[] certs = {}; in verifySubjectAltOnly() local
312 X509Certificate[] certs = {}; in verifyMultipleCn() local
351 X509Certificate[] certs = {}; in verifyWilcardCn() local
391 X509Certificate[] certs = {}; in verifyWilcardCnOnTld() local
435 X509Certificate[] certs = {}; in testWilcardNonAsciiSubjectAlt() local
[all …]
H A DTrustManagerImplTest.java126 List<X509Certificate> certs = in testGetFullChain() local
128 assertEquals(Arrays.asList(chain3), certs); in testGetFullChain() local
130 assertEquals(Arrays.asList(chain3), certs); in testGetFullChain() local
151 List<X509Certificate> certs = tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification() local
153 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
167 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
181 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
185 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
201 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
215 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/
H A DHostnameVerifierTest.java84 X509Certificate[] certs = {}; in verify() local
118 X509Certificate[] certs = {}; in verifyCn() local
154 X509Certificate[] certs = {}; in verifyNonAsciiCn() local
188 X509Certificate[] certs = {}; in verifySubjectAlt() local
230 X509Certificate[] certs = {}; in verifyNonAsciiSubjectAlt() local
271 X509Certificate[] certs = {}; in verifySubjectAltOnly() local
307 X509Certificate[] certs = {}; in verifyMultipleCn() local
346 X509Certificate[] certs = {}; in verifyWilcardCn() local
386 X509Certificate[] certs = {}; in verifyWilcardCnOnTld() local
430 X509Certificate[] certs = {}; in testWilcardNonAsciiSubjectAlt() local
[all …]
H A DTrustManagerImplTest.java119 List<X509Certificate> certs = tmi.checkServerTrusted(chain2, "RSA", new FakeSSLSession( in testGetFullChain() local
121 assertEquals(Arrays.asList(chain3), certs); in testGetFullChain() local
123 assertEquals(Arrays.asList(chain3), certs); in testGetFullChain() local
144 List<X509Certificate> certs = tmi.getTrustedChainForServer(chain, "RSA", in testHttpsEndpointIdentification() local
146 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
160 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
173 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
177 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
192 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
206 assertEquals(Arrays.asList(chain), certs); in testHttpsEndpointIdentification() local
/aosp_15_r20/external/cronet/net/cert/
H A Dnss_cert_database_unittest.cc178 ScopedCERTCertificateList* certs) { in ReadCertIntoList()
223 ScopedCERTCertificateList certs = future.Take(); in TEST_F() local
532 ScopedCERTCertificateList certs = CreateCERTCertificateListFromFile( in TEST_F() local
565 ScopedCERTCertificateList certs = CreateCERTCertificateListFromFile( in TEST_F() local
600 ScopedCERTCertificateList certs = CreateCERTCertificateListFromFile( in TEST_F() local
635 ScopedCERTCertificateList certs = CreateCERTCertificateListFromFile( in TEST_F() local
655 ScopedCERTCertificateList certs; in TEST_F() local
687 ScopedCERTCertificateList certs; in TEST_F() local
731 ScopedCERTCertificateList certs; in TEST_F() local
758 ScopedCERTCertificateList certs; in TEST_F() local
[all …]
H A Dnss_cert_database_chromeos_unittest.cc259 ScopedCERTCertificateList certs; in TEST_F() local
278 ScopedCERTCertificateList certs; in TEST_F() local
288 ScopedCERTCertificateList certs = CreateCERTCertificateListFromFile( in TEST_F() local
317 ScopedCERTCertificateList certs = CreateCERTCertificateListFromFile( in TEST_F() local
355 ScopedCERTCertificateList certs = CreateCERTCertificateListFromFile( in TEST_F() local
/aosp_15_r20/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
H A DRFC3280CertPathUtilities.java539 List certs = builder.engineBuild(extParams).getCertPath().getCertificates(); in processCRLF() local
793 List certs = certPath.getCertificates(); in prepareCertB() local
977 List certs = certPath.getCertificates(); in prepareNextCertA() local
1053 List certs = certPath.getCertificates(); in processCertE() local
1083 List certs = certPath.getCertificates(); in processCertBC() local
1190 List certs = certPath.getCertificates(); in processCertD() local
1395 List certs = certPath.getCertificates(); in processCertA() local
1469 List certs = certPath.getCertificates(); in prepareNextCertI1() local
1523 List certs = certPath.getCertificates(); in prepareNextCertI2() local
1577 List certs = certPath.getCertificates(); in prepareNextCertG() local
[all …]
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
H A DRFC3280CertPathUtilities.java539 List certs = builder.engineBuild(extParams).getCertPath().getCertificates(); in processCRLF() local
793 List certs = certPath.getCertificates(); in prepareCertB() local
977 List certs = certPath.getCertificates(); in prepareNextCertA() local
1053 List certs = certPath.getCertificates(); in processCertE() local
1083 List certs = certPath.getCertificates(); in processCertBC() local
1190 List certs = certPath.getCertificates(); in processCertD() local
1395 List certs = certPath.getCertificates(); in processCertA() local
1469 List certs = certPath.getCertificates(); in prepareNextCertI1() local
1523 List certs = certPath.getCertificates(); in prepareNextCertI2() local
1577 List certs = certPath.getCertificates(); in prepareNextCertG() local
[all …]
/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DRFC3280CertPathUtilities.java538 List certs = builder.engineBuild(extParams).getCertPath().getCertificates(); in processCRLF() local
792 List certs = certPath.getCertificates(); in prepareCertB() local
976 List certs = certPath.getCertificates(); in prepareNextCertA() local
1052 List certs = certPath.getCertificates(); in processCertE() local
1082 List certs = certPath.getCertificates(); in processCertBC() local
1189 List certs = certPath.getCertificates(); in processCertD() local
1394 List certs = certPath.getCertificates(); in processCertA() local
1468 List certs = certPath.getCertificates(); in prepareNextCertI1() local
1522 List certs = certPath.getCertificates(); in prepareNextCertI2() local
1576 List certs = certPath.getCertificates(); in prepareNextCertG() local
[all …]
/aosp_15_r20/bootable/recovery/tests/unit/
H A Dverifier_test.cpp61 const std::vector<Certificate>& certs) { in VerifyPackageWithCertificates()
70 std::vector<Certificate> certs; in VerifyPackageWithSingleCertificate() local
204 std::vector<Certificate> certs = LoadKeysFromZipfile(otacerts.path); in TEST() local
211 std::vector<Certificate> certs = LoadKeysFromZipfile(otacerts.path); in TEST() local
227 std::vector<Certificate> certs = LoadKeysFromZipfile(otacerts.path); in TEST() local
241 std::vector<Certificate> certs = LoadKeysFromZipfile(otacerts.path); in TEST() local
278 std::vector<Certificate> certs; in TEST() local
292 std::vector<Certificate> certs; in TEST() local
311 std::vector<Certificate> certs; in TEST() local
/aosp_15_r20/frameworks/base/core/java/android/security/net/config/
H A DRootTrustManager.java62 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket) in checkClientTrusted()
71 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted()
80 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket) in checkServerTrusted()
98 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted()
110 public void checkServerTrusted(X509Certificate[] certs, String authType) in checkServerTrusted()
127 public List<X509Certificate> checkServerTrusted(X509Certificate[] certs, String authType, in checkServerTrusted()
H A DNetworkSecurityTrustManager.java73 public void checkClientTrusted(X509Certificate[] certs, String authType, Socket socket) in checkClientTrusted()
79 public void checkClientTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkClientTrusted()
85 public void checkServerTrusted(X509Certificate[] certs, String authType) in checkServerTrusted()
91 public void checkServerTrusted(X509Certificate[] certs, String authType, Socket socket) in checkServerTrusted()
99 public void checkServerTrusted(X509Certificate[] certs, String authType, SSLEngine engine) in checkServerTrusted()
111 public List<X509Certificate> checkServerTrusted(X509Certificate[] certs, String authType, in checkServerTrusted()
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/pkcs8/
H A Dpkcs12_test.cc47 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TestImpl() local
163 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
503 const std::vector<X509 *> &certs) { in PKCS12CreateVector()
631 std::vector<X509 *> certs = {cert1.get(), cert2.get()}; in TEST() local
671 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
679 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
687 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
/aosp_15_r20/external/boringssl/src/crypto/pkcs8/
H A Dpkcs12_test.cc47 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TestImpl() local
163 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
503 const std::vector<X509 *> &certs) { in PKCS12CreateVector()
631 std::vector<X509 *> certs = {cert1.get(), cert2.get()}; in TEST() local
671 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
679 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
687 bssl::UniquePtr<STACK_OF(X509)> certs(sk_X509_new_null()); in TEST() local
/aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/core/crypto/
H A Dquic_crypto_client_config.cc188 const std::vector<std::string>& certs, absl::string_view cert_sct, in SetProof()
246 const std::vector<std::string>& certs, const std::string& cert_sct, in Initialize()
283 const std::vector<std::string>& QuicCryptoClientConfig::CachedState::certs() in certs() function in quic::QuicCryptoClientConfig::CachedState
432 const std::vector<std::string>& certs = cached->certs(); in FillInchoateClientHello() local
549 const std::vector<std::string>& certs = cached->certs(); in FillClientHello() local
635 std::vector<std::string> certs; in CacheNewServerConfig() local
H A Dcert_compressor.cc177 std::vector<CertEntry> MatchCerts(const std::vector<std::string>& certs, in MatchCerts()
266 const std::vector<std::string>& certs) { in ZlibDictForEntries()
297 std::vector<uint64_t> HashCerts(const std::vector<std::string>& certs) { in HashCerts()
413 const std::vector<std::string>& certs, in CompressChain()
H A Dquic_compressed_certs_cache_test.cc30 std::vector<std::string> certs = {"leaf cert", "intermediate cert", in TEST_F() local
46 std::vector<std::string> certs = {"leaf cert", "intermediate cert", in TEST_F() local
68 std::vector<std::string> certs = {"leaf cert", "intermediate cert", in TEST_F() local
/aosp_15_r20/external/cronet/net/quic/crypto/
H A Dproof_verifier_chromium.cc207 const std::vector<string>& certs, in VerifyProof()
249 const std::vector<string>& certs, in VerifyCertChain()
278 const std::vector<string>& certs, in GetX509Certificate()
549 const std::vector<std::string>& certs, in VerifyProof()
579 const std::vector<std::string>& certs, in VerifyCertChain()
/aosp_15_r20/frameworks/base/core/java/android/util/apk/
H A DApkSignatureSchemeV2Verifier.java198 X509Certificate[] certs = verifySigner(signer, contentDigests, certFactory); in verify() local
338 List<X509Certificate> certs = new ArrayList<>(); in verifySigner() local
426 public final X509Certificate[][] certs; field in ApkSignatureSchemeV2Verifier.VerifiedSigner
433 public VerifiedSigner(X509Certificate[][] certs, byte[] verityRootHash, in VerifiedSigner()
/aosp_15_r20/external/grpc-grpc-java/xds/src/main/java/io/grpc/xds/internal/security/trust/
H A DXdsTrustManagerFactory.java61 X509Certificate[] certs, CertificateValidationContext staticCertificateValidationContext) in XdsTrustManagerFactory()
67 X509Certificate[] certs, in XdsTrustManagerFactory()
102 X509Certificate[] certs, CertificateValidationContext certContext) throws CertStoreException { in createX509TrustManager()
/aosp_15_r20/external/rust/crates/openssl/src/
Dpkcs7.rs360 let mut certs = Stack::new().unwrap(); in encrypt_decrypt_test() localVariable
392 let certs = Stack::new().unwrap(); in sign_verify_test_detached() localVariable
440 let certs = Stack::new().unwrap(); in sign_verify_test_normal() localVariable
483 let certs = Stack::new().unwrap(); in signers() localVariable
555 let mut certs = Stack::new().unwrap(); in signed_data_certificates_no_signed_data() localVariable
/aosp_15_r20/external/android-key-attestation/server/src/main/java/com/android/example/
H A DKeyAttestationExample.java83 List<X509Certificate> certs; in main() local
218 private static void verifyCertificateChain(List<X509Certificate> certs) in verifyCertificateChain()
268 ImmutableList.Builder<X509Certificate> certs = new ImmutableList.Builder<>(); in loadCertificates() local

12345678910>>...49