HomeSort by relevance Sort by last modified time
    Searched refs:certs (Results 1 - 25 of 256) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/nist-pkits/src/libcore/java/security/cert/
X509CertificateNistPkitsTest.java 71 final String fileName = "nist-pkits/certs/" + name;
86 X509Certificate[] certs = new X509Certificate[names.length]; local
89 certs[i] = getCertificate(f, names[i]);
92 return certs;
120 X509Certificate[] certs = getCertificates(f, pathCerts); local
121 return f.generateCertPath(Arrays.asList(certs));
126 X509Certificate[] certs = getCertificates(f, pathCerts); local
132 certCollection.addAll(Arrays.asList(certs));
147 private void assertInvalidPath(String trustAnchor, String[] certs, String[] crls)
151 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls)
181 String[] certs = { local
198 String[] certs = { local
215 String[] certs = { local
232 String[] certs = { local
249 String[] certs = { local
268 String[] certs = { local
285 String[] certs = { local
302 String[] certs = { local
319 String[] certs = { local
336 String[] certs = { local
353 String[] certs = { local
370 String[] certs = { local
387 String[] certs = { local
404 String[] certs = { local
421 String[] certs = { local
438 String[] certs = { local
455 String[] certs = { local
472 String[] certs = { local
489 String[] certs = { local
506 String[] certs = { local
523 String[] certs = { local
540 String[] certs = { local
557 String[] certs = { local
574 String[] certs = { local
591 String[] certs = { local
608 String[] certs = { local
624 String[] certs = { local
643 String[] certs = { local
660 String[] certs = { local
677 String[] certs = { local
694 String[] certs = { local
711 String[] certs = { local
729 String[] certs = { local
746 String[] certs = { local
763 String[] certs = { local
780 String[] certs = { local
797 String[] certs = { local
814 String[] certs = { local
831 String[] certs = { local
848 String[] certs = { local
865 String[] certs = { local
882 String[] certs = { local
899 String[] certs = { local
916 String[] certs = { local
934 String[] certs = { local
952 String[] certs = { local
970 String[] certs = { local
988 String[] certs = { local
1006 String[] certs = { local
1025 String[] certs = { local
1044 String[] certs = { local
1063 String[] certs = { local
1082 String[] certs = { local
1101 String[] certs = { local
1120 String[] certs = { local
1137 String[] certs = { local
1154 String[] certs = { local
1171 String[] certs = { local
1188 String[] certs = { local
1207 String[] certs = { local
1226 String[] certs = { local
1243 String[] certs = { local
1260 String[] certs = { local
1281 String[] certs = { local
1302 String[] certs = { local
1325 String[] certs = { local
1348 String[] certs = { local
1371 String[] certs = { local
1394 String[] certs = { local
1412 String[] certs = { local
1432 String[] certs = { local
1453 String[] certs = { local
1470 String[] certs = { local
1487 String[] certs = { local
1504 String[] certs = { local
1521 String[] certs = { local
1540 String[] certs = { local
1557 String[] certs = { local
1574 String[] certs = { local
1591 String[] certs = { local
1608 String[] certs = { local
1625 String[] certs = { local
1642 String[] certs = { local
1659 String[] certs = { local
1676 String[] certs = { local
1693 String[] certs = { local
1710 String[] certs = { local
1727 String[] certs = { local
1746 String[] certs = { local
1765 String[] certs = { local
1784 String[] certs = { local
1803 String[] certs = { local
1822 String[] certs = { local
1841 String[] certs = { local
1860 String[] certs = { local
1878 String[] certs = { local
1895 String[] certs = { local
1912 String[] certs = { local
1929 String[] certs = { local
1946 String[] certs = { local
1963 String[] certs = { local
1980 String[] certs = { local
1997 String[] certs = { local
2016 String[] certs = { local
2035 String[] certs = { local
2054 String[] certs = { local
2071 String[] certs = { local
2088 String[] certs = { local
2105 String[] certs = { local
2122 String[] certs = { local
2139 String[] certs = { local
2156 String[] certs = { local
2173 String[] certs = { local
2190 String[] certs = { local
2207 String[] certs = { local
2224 String[] certs = { local
2241 String[] certs = { local
2258 String[] certs = { local
2275 String[] certs = { local
2292 String[] certs = { local
2309 String[] certs = { local
2326 String[] certs = { local
2343 String[] certs = { local
2360 String[] certs = { local
2377 String[] certs = { local
2394 String[] certs = { local
2411 String[] certs = { local
2428 String[] certs = { local
2445 String[] certs = { local
2463 String[] certs = { local
2481 String[] certs = { local
2499 String[] certs = { local
2517 String[] certs = { local
2535 String[] certs = { local
2553 String[] certs = { local
2571 String[] certs = { local
2588 String[] certs = { local
2605 String[] certs = { local
2623 String[] certs = { local
2641 String[] certs = { local
2659 String[] certs = { local
2677 String[] certs = { local
2696 String[] certs = { local
2715 String[] certs = { local
2733 String[] certs = { local
2751 String[] certs = { local
2769 String[] certs = { local
2787 String[] certs = { local
2804 String[] certs = { local
2821 String[] certs = { local
2838 String[] certs = { local
2856 String[] certs = { local
2874 String[] certs = { local
2892 String[] certs = { local
2910 String[] certs = { local
2928 String[] certs = { local
2946 String[] certs = { local
2964 String[] certs = { local
2982 String[] certs = { local
3000 String[] certs = { local
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
CertificateMessage.java 38 X509Certificate[] certs; field in class:CertificateMessage
59 certs = new X509Certificate[0];
85 certs = certsList.toArray(new X509Certificate[certsList.size()]);
86 this.length = 3 + 3 * certs.length + enc_size;
95 * @param certs
97 public CertificateMessage(X509Certificate[] certs) {
98 if (certs == null) {
99 this.certs = new X509Certificate[0];
104 this.certs = certs;
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
HttpsURLConnection.java 232 Certificate[] certs = getServerCertificates(); local
233 if (certs == null || certs.length == 0 || (!(certs[0] instanceof X509Certificate))) {
236 return ((X509Certificate) certs[0]).getSubjectX500Principal();
248 Certificate[] certs = getLocalCertificates(); local
249 if (certs == null || certs.length == 0 || (!(certs[0] instanceof X509Certificate))) {
252 return ((X509Certificate) certs[0]).getSubjectX500Principal()
    [all...]
  /external/chromium_org/chrome/browser/net/
sqlite_server_bound_cert_store_unittest.cc 26 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert>* certs) {
32 certs->swap(certs_);
39 net::DefaultServerBoundCertStore::ServerBoundCert> > certs) {
40 certs_.swap(*certs);
82 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
83 Load(&certs);
84 ASSERT_EQ(0u, certs.size());
109 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
122 Load(&certs);
123 ASSERT_EQ(2U, certs.size())
204 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
276 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
362 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
455 ScopedVector<net::DefaultServerBoundCertStore::ServerBoundCert> certs; local
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
signature_util_win_unittest.cc 37 std::vector<scoped_refptr<net::X509Certificate> >* certs) {
39 certs->push_back(
56 std::vector<scoped_refptr<net::X509Certificate> > certs; local
57 ParseCertificateChain(signature_info.certificate_chain(0), &certs);
58 ASSERT_EQ(2, certs.size());
59 EXPECT_EQ("Joe's-Software-Emporium", certs[0]->subject().common_name);
60 EXPECT_EQ("Root Agency", certs[1]->subject().common_name);
73 std::vector<scoped_refptr<net::X509Certificate> > certs; local
74 ParseCertificateChain(signature_info.certificate_chain(0), &certs);
75 ASSERT_EQ(3, certs.size())
    [all...]
  /external/chromium_org/net/cert/
x509_certificate_net_log_param.cc 18 base::ListValue* certs = new base::ListValue(); local
22 certs->Append(new base::StringValue(encoded_chain[i]));
23 dict->Set("certificates", certs);
nss_cert_database_unittest.cc 76 CertificateList* certs) {
82 certs->push_back(cert);
109 CertificateList certs = ListCertsInSlot(slot_->os_module_handle()); local
111 for (size_t i = 0; i < certs.size(); ++i) {
115 CERT_GetDefaultCertDB(), certs[i]->os_cert_handle(), &default_trust);
119 if (!cert_db_->DeleteCertAndKey(certs[i].get()))
131 CertificateList certs; local
132 cert_db_->ListCerts(&certs);
135 EXPECT_LT(0U, certs.size());
269 CertificateList certs = CreateCertificateListFromFile local
300 CertificateList certs = CreateCertificateListFromFile( local
331 CertificateList certs = CreateCertificateListFromFile( local
362 CertificateList certs = CreateCertificateListFromFile( local
383 CertificateList certs; local
410 CertificateList certs; local
448 CertificateList certs; local
469 CertificateList certs; local
492 CertificateList certs = CreateCertificateListFromFile( local
524 CertificateList certs = CreateCertificateListFromFile( local
561 CertificateList certs; local
599 CertificateList certs; local
642 CertificateList certs = CreateCertificateListFromFile( local
684 CertificateList certs = CreateCertificateListFromFile( local
736 CertificateList certs = CreateCertificateListFromFile( local
818 CertificateList certs = CreateCertificateListFromFile( local
888 CertificateList certs = CreateCertificateListFromFile( local
958 CertificateList certs = CreateCertificateListFromFile( local
1003 CertificateList certs = local
    [all...]
  /frameworks/base/core/tests/coretests/apks/version/
Android.mk 7 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test
14 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test
21 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test
28 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test_diff
35 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test_diff
  /external/chromium/net/base/
cert_database_nss_unittest.cc 70 CertificateList certs = ListCertsInSlot(slot); local
71 for (size_t i = 0; i < certs.size(); ++i) {
72 if (!cert_db.DeleteCertAndKey(certs[i]))
85 bool ReadCertIntoList(const std::string& name, CertificateList* certs) {
95 certs->push_back(cert);
145 CertificateList certs; local
146 cert_db_.ListCerts(&certs);
149 EXPECT_LT(0U, certs.size());
189 CertificateList certs = local
192 ASSERT_EQ(1U, certs.size())
221 CertificateList certs = local
252 CertificateList certs = local
283 CertificateList certs = local
304 CertificateList certs; local
330 CertificateList certs; local
367 CertificateList certs; local
387 CertificateList certs; local
409 CertificateList certs = local
440 CertificateList certs = local
470 CertificateList certs; local
    [all...]
  /external/chromium_org/net/ssl/
client_cert_store_unittest-inl.h 57 std::vector<scoped_refptr<X509Certificate> > certs; local
62 certs, *request.get(), &selected_certs);
74 std::vector<scoped_refptr<X509Certificate> > certs; local
75 certs.push_back(cert);
80 certs, *request.get(), &selected_certs);
107 std::vector<scoped_refptr<X509Certificate> > certs; local
108 certs.push_back(cert_1);
109 certs.push_back(cert_2);
115 certs, *request.get(), &selected_certs);
client_cert_store_mac_unittest.cc 55 std::vector<scoped_refptr<X509Certificate> > certs; local
61 cert_1, certs, *request.get(), &selected_certs);
76 std::vector<scoped_refptr<X509Certificate> > certs; local
77 certs.push_back(cert_2);
82 cert_1, certs, *request.get(), &selected_certs);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
PKIXCertPath.java 66 * @param certs
69 List certs)
71 if (certs.size() < 2)
73 return certs;
76 X500Principal issuer = ((X509Certificate)certs.get(0)).getIssuerX500Principal();
79 for (int i = 1; i != certs.size(); i++)
81 X509Certificate cert = (X509Certificate)certs.get(i);
85 issuer = ((X509Certificate)certs.get(i)).getIssuerX500Principal();
96 return certs;
100 List retList = new ArrayList(certs.size())
    [all...]
  /frameworks/base/core/tests/coretests/apks/version_nosys/
Android.mk 7 LOCAL_CERTIFICATE := $(LOCAL_PATH)/../../certs/unit_test
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
CertificateMessageTest.java 64 assertEquals("incorrect message", 0, message.certs.length);
76 assertEquals("incorrect message_2", 0, message_2.certs.length);
93 assertTrue("incorrect cert encoding", Arrays.equals(message.certs[0]
104 assertEquals("Incorrect message decoding", message.certs.length, message_2.certs.length);
105 assertTrue("incorrect cert encoding", Arrays.equals(message.certs[0]
106 .getEncoded(), message_2.certs[0].getEncoded()));
  /external/chromium_org/net/test/
cert_test_util.cc 33 CertificateList certs = CreateCertificateListFromFile( local
35 if (certs.empty())
39 for (size_t i = 1; i < certs.size(); ++i)
40 intermediates.push_back(certs[i]->os_cert_handle());
43 certs[0]->os_cert_handle(), intermediates));
  /external/chromium_org/third_party/libjingle/source/talk/base/
sslidentity.h 96 explicit SSLCertChain(const std::vector<SSLCertificate*>& certs) {
97 ASSERT(!certs.empty());
98 certs_.resize(certs.size());
99 std::transform(certs.begin(), certs.end(), certs_.begin(), DupCert);
fakesslidentity.h 42 explicit FakeSSLCertificate(const std::vector<std::string>& certs)
43 : data_(certs.front()) {
45 // Skip certs[0].
46 for (it = certs.begin() + 1; it != certs.end(); ++it) {
  /external/chromium_org/third_party/openssl/openssl/crypto/ocsp/
ocsp_vfy.c 63 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
65 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs,
75 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
82 ret = ocsp_find_signer(&signer, bs, certs, st, flags);
111 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs);
166 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
171 if ((signer = ocsp_find_signer_sk(certs, rid)))
177 (signer = ocsp_find_signer_sk(bs->certs, rid)))
189 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id
    [all...]
  /external/openssl/crypto/ocsp/
ocsp_vfy.c 63 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
65 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
70 static int ocsp_req_find_signer(X509 **psigner, OCSP_REQUEST *req, X509_NAME *nm, STACK_OF(X509) *certs,
75 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
82 ret = ocsp_find_signer(&signer, bs, certs, st, flags);
111 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs);
166 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
171 if ((signer = ocsp_find_signer_sk(certs, rid)))
177 (signer = ocsp_find_signer_sk(bs->certs, rid)))
189 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id
    [all...]
  /external/chromium_org/net/quic/crypto/
cert_compressor.h 33 // CompressChain compresses the certificates in |certs| and returns a
38 static std::string CompressChain(const std::vector<std::string>& certs,
  /external/chromium_org/net/third_party/mozilla_security_manager/
nsPKCS12Blob.h 62 // certs that were imported.
74 const net::CertificateList& certs,
  /libcore/luni/src/main/java/java/security/
CodeSource.java 28 public CodeSource(URL location, Certificate[] certs) { }
UnresolvedPermission.java 27 public UnresolvedPermission(String type, String name, String actions, Certificate[] certs) {
  /external/chromium/net/socket/
ssl_host_info.cc 23 certs.clear();
94 state->certs.push_back(der_cert);
113 if (!state->certs.empty()) {
114 std::vector<base::StringPiece> der_certs(state->certs.size());
115 for (size_t i = 0; i < state->certs.size(); i++)
116 der_certs[i] = state->certs[i];
147 i = state_.certs.begin(); i != state_.certs.end(); i++) {
155 if (!p.WriteInt(state_.certs.size()))
159 i = state_.certs.begin(); i != state_.certs.end(); i++)
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
TestCertUtils.java 69 * real chain of certificates, it's just an array of 3 certs. The method
104 Certificate[] certs = new Certificate[howMany]; local
106 certs[i] = new TestCertificate(Integer.toString(startID + i));
108 return new TestCertPath(certs);
155 private Certificate[] certs; field in class:TestCertUtils.TestCertPath
165 certs = getCertChain();
173 * @param certs
175 public TestCertPath(Certificate[] certs) {
177 this.certs = certs;
    [all...]

Completed in 603 milliseconds

1 2 3 4 5 6 7 8 91011