/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...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertStore1Test.java | 160 CertStore certS = new myCertStore(spi, dProv, dType, pp); 161 assertEquals("Incorrect algorithm", certS.getType(), dType); 162 assertEquals("Incorrect provider", certS.getProvider(), dProv); 163 assertTrue("Incorrect parameters", certS.getCertStoreParameters() 166 certS.getCertificates(null); 170 certS = new myCertStore(null, null, null, null); 171 assertNull("Incorrect algorithm", certS.getType()); 172 assertNull("Incorrect provider", certS.getProvider()); 173 assertNull("Incorrect parameters", certS.getCertStoreParameters()); 175 certS.getCertificates(null) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
CertificateMessage.java | 39 X509Certificate[] certs; field in class:CertificateMessage 60 certs = new X509Certificate[0]; 86 certs = certsList.toArray(new X509Certificate[certsList.size()]); 87 this.length = 3 + 3 * certs.length + enc_size; 96 * @param certs 98 public CertificateMessage(X509Certificate[] certs) { 99 if (certs == null) { 100 this.certs = new X509Certificate[0]; 105 this.certs = certs; [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPath.java | 61 * @param certs 64 List certs) 66 if (certs.size() < 2) 68 return certs; 71 X500Principal issuer = ((X509Certificate)certs.get(0)).getIssuerX500Principal(); 74 for (int i = 1; i != certs.size(); i++) 76 X509Certificate cert = (X509Certificate)certs.get(i); 80 issuer = ((X509Certificate)certs.get(i)).getIssuerX500Principal(); 91 return certs; 95 List retList = new ArrayList(certs.size()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertStore1Test.java | 169 CertStore certS = new myCertStore(spi, dProv, dType, pp); 170 assertEquals("Incorrect algorithm", certS.getType(), dType); 171 assertEquals("Incorrect provider", certS.getProvider(), dProv); 172 assertTrue("Incorrect parameters", certS.getCertStoreParameters() 175 certS.getCertificates(null); 179 certS = new myCertStore(null, null, null, null); 180 assertNull("Incorrect algorithm", certS.getType()); 181 assertNull("Incorrect provider", certS.getProvider()); 182 assertNull("Incorrect parameters", certS.getCertStoreParameters()); 184 certS.getCertificates(null) [all...] |
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/ |
racoon.conf | 1 path certificate "/etc/openssl/certs";
|
racoon.conf-radius | 1 path certificate "/etc/openssl/certs";
|
/external/openssl/android.testssl/ |
CAss.cnf | 35 certs = $dir/certs # Where the issued certs are kept 40 new_certs_dir = $dir/newcerts # default place for new certs.
|
/external/wpa_supplicant/tests/ |
test_x509v3.c | 28 struct x509_certificate *certs = NULL, *last = NULL, *cert; local 54 if (certs == NULL) 55 certs = cert; 62 if (x509_certificate_chain_validate(last, certs, &reason) < 0) {
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_x509v3.c | 28 struct x509_certificate *certs = NULL, *last = NULL, *cert; local 54 if (certs == NULL) 55 certs = cert; 62 if (x509_certificate_chain_validate(last, certs, &reason) < 0) {
|
/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/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
CertStore_ImplTest.java | 85 private void checkResult(CertStore certS) throws CertStoreException, 89 Collection collection = certS.getCertificates(certSelector); 91 collection = certS.getCRLs(crlSelector); 136 CertStore certS; 138 certS = CertStore.getInstance(validValues[i], p); 139 assertEquals("Incorrect type", certS.getType(), validValues[i]); 140 assertEquals("Incorrect provider", certS.getProvider(), mProv); 141 assertTrue("Invalid parameters",certS.getCertStoreParameters() instanceof MyCertStoreParameters); 142 checkResult(certS); 216 CertStore certS; [all...] |
/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/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); 108 init_res = X509_STORE_CTX_init(&ctx, st, signer, bs->certs); 162 static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs, STACK_OF(X509) *certs, 167 if ((signer = ocsp_find_signer_sk(certs, rid))) 173 (signer = ocsp_find_signer_sk(bs->certs, rid))) 185 static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id [all...] |
/external/ipsec-tools/src/racoon/doc/ |
README.privsep | 54 certs directory containing certificates, a scripts directory, and other 59 mv certs root 60 mkdir certs 61 mv root/certs/*.key certs 66 cd /usr/local/etc/racoon/certs 67 for i in ../root/certs/* 72 Now root/certs contains certificates and certs contains the keys. The idea is 113 racoon. Of course, you could actually put the certs directory and any othe [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
mySSLSession.java | 28 private Certificate[] certs = null; field in class:mySSLSession 32 certs = null; 41 certs = TestCertUtils.getCertChain(); 46 certs = xc; 90 if (certs == null) { 93 return certs;
|
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
racoon.conf | 1 path certificate "/etc/openssl/certs";
|
/build/tools/releasetools/ |
check_target_files_signatures | 111 self.certs = {} 114 if cert in self.certs: 116 self.certs[cert] = self.certs[cert] + "," + name 121 self.certs[cert] = name 125 return self.certs.get(cert, None) 131 certs = [os.path.join(dirpath, i) 133 if certs: 134 to_load.extend(certs) 214 self.certs = frozenset(out [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
HandshakeCompletedEventTest.java | 101 Certificate[] certs = event.getLocalCertificates(); local 103 if (certs == null && ses_certs == null) { 106 if (certs == null || ses_certs == null) { 109 for (int i = 0; i < certs.length; i++) { 110 if (certs[i] != ses_certs[i]) {
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
JarUtils.java | 80 X509Certificate[] certs = new X509Certificate[encCerts.size()]; local 83 certs[i++] = new X509CertImpl(encCert); 102 for (i = 0; i < certs.length; i++) { 103 if (issuer.equals(certs[i].getIssuerDN()) && 104 snum.equals(certs[i].getSerialNumber())) { 109 if (i == certs.length) { // No issuer certificate found 113 if (certs[issuerSertIndex].hasUnsupportedCriticalExtension()) { 139 sig.initVerify(certs[issuerSertIndex]); 175 return createChain(certs[issuerSertIndex], certs); [all...] |
/external/chromium/chrome/browser/ssl/ |
ssl_add_cert_handler_mac.mm | 72 NSArray* certs = [NSArray arrayWithObject: (id)cert]; 80 certificates:certs 84 int returnCode = [panel runModalForCertificates:certs showGroup:NO];
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CredentialHelper.java | 103 ArrayList<byte[]> certs = new ArrayList<byte[]>(mCaCerts.size() + 1); local 105 certs.add(mUserCert.getEncoded()); 108 certs.add(cert.getEncoded()); 110 outStates.putByteArray(CERTS_KEY, Util.toBytes(certs)); 124 ArrayList<byte[]> certs = Util.fromBytes(savedStates.getByteArray(CERTS_KEY)); local 125 for (byte[] cert : certs) { 332 Certificate[] certs = entry.getCertificateChain(); local 333 Log.d(TAG, "# certs extracted = " + certs.length); 334 mCaCerts = new ArrayList<X509Certificate>(certs.length) [all...] |
/cts/tests/appsecurity-tests/test-apps/AppAccessData/ |
Android.mk | 28 LOCAL_CERTIFICATE := cts/tests/appsecurity-tests/certs/cts-testkey2
|
/cts/tests/appsecurity-tests/test-apps/AppWithData/ |
Android.mk | 27 LOCAL_CERTIFICATE := cts/tests/appsecurity-tests/certs/cts-testkey1
|
/cts/tests/appsecurity-tests/test-apps/InstrumentationAppDiffCert/ |
Android.mk | 28 LOCAL_CERTIFICATE := cts/tests/appsecurity-tests/certs/cts-testkey2
|