/external/chromium_org/chromeos/network/onc/ |
onc_utils_unittest.cc | 108 CertPEMsByGUIDMap certs; local 109 certs["cert_google"] = "pem_google"; 110 certs["cert_webkit"] = "pem_webkit"; 131 bool success = ResolveServerCertRefsInNetworks(certs,
|
/external/chromium_org/third_party/openssl/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/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.
|
/libcore/luni/src/main/java/java/util/jar/ |
JarEntry.java | 151 private CodeSigner[] getCodeSigners(Certificate[] certs) { 152 if (certs == null) { 157 ArrayList<Certificate> list = new ArrayList<Certificate>(certs.length); 160 for (Certificate element : certs) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathValidatorSpi.java | 77 List certs = certPath.getCertificates(); local 78 int n = certs.size(); 80 if (certs.isEmpty()) 86 X509Certificate cert = (X509Certificate) certs.get(0); 117 trust = CertPathValidatorUtilities.findTrustAnchor((X509Certificate) certs.get(certs.size() - 1), 122 throw new CertPathValidatorException(e.getMessage(), e, certPath, certs.size() - 1); 256 && !paramsPKIX.getTargetConstraints().match((X509Certificate) certs.get(0))) 274 for (index = certs.size() - 1; index >= 0; index--) 298 cert = (X509Certificate) certs.get(index) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
pk7_smime.c | 68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, 94 for(i = 0; i < sk_X509_num(certs); i++) 96 if (!PKCS7_add_certificate(p7, sk_X509_value(certs, i))) 266 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, 314 signers = PKCS7_get0_signers(p7, certs, flags); 430 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) 469 if (certs) signer = X509_find_by_issuer_and_serial (certs, 492 PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, 511 for(i = 0; i < sk_X509_num(certs); i++) [all...] |
/external/openssl/crypto/pkcs7/ |
pk7_smime.c | 68 PKCS7 *PKCS7_sign(X509 *signcert, EVP_PKEY *pkey, STACK_OF(X509) *certs, 94 for(i = 0; i < sk_X509_num(certs); i++) 96 if (!PKCS7_add_certificate(p7, sk_X509_value(certs, i))) 266 int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, 314 signers = PKCS7_get0_signers(p7, certs, flags); 430 STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, int flags) 469 if (certs) signer = X509_find_by_issuer_and_serial (certs, 492 PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, 511 for(i = 0; i < sk_X509_num(certs); i++) [all...] |
/external/chromium/net/base/ |
cert_database.h | 74 // client certs of each type. 100 void ListCerts(CertificateList* certs); 124 int ExportToPKCS12(const CertificateList& certs, const string16& password, 145 // additional certs should be intermediate/CA certs and will be imported but
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
user_network_configuration_updater.cc | 65 net::CertificateList* certs) const { 66 *certs = web_trust_certs_;
|
/external/chromium_org/net/cert/ |
nss_cert_database.h | 70 // client certs of each type. 96 void ListCerts(CertificateList* certs); 126 // of certs that were imported. 136 int ExportToPKCS12(const CertificateList& certs, 158 // additional certs should be intermediate/CA certs and will be imported but
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory3Test.java | 90 Certificate[] certs = new Certificate[3]; local 92 certs[i] = certFs[i].generateCertificate(new ByteArrayInputStream( 95 assertEquals(certs[0], certs[1]); 96 assertEquals(certs[0], certs[2]);
|
/external/chromium_org/net/quic/crypto/ |
proof_verifier_chromium.cc | 47 const vector<string>& certs, 68 if (certs.empty()) { 69 *error_details = "Failed to create certificate chain. Certs are empty."; 76 // Convert certs to X509Certificate. 77 vector<StringPiece> cert_pieces(certs.size()); 78 for (unsigned i = 0; i < certs.size(); i++) { 79 cert_pieces[i] = base::StringPiece(certs[i]); 92 if (!VerifySignature(server_config, signature, certs[0])) {
|
quic_crypto_client_config.cc | 123 void QuicCryptoClientConfig::CachedState::SetProof(const vector<string>& certs, 126 signature != server_config_sig_ || certs_.size() != certs.size(); 130 if (certs_[i] != certs[i]) { 143 certs_ = certs; 171 const vector<string>& QuicCryptoClientConfig::CachedState::certs() const { function in class:net::QuicCryptoClientConfig::CachedState 278 const vector<string>& certs = cached->certs(); local 279 // We save |certs| in the QuicCryptoNegotiatedParameters so that, if the 283 out_params->cached_certs = certs; 284 if (!certs.empty()) 523 vector<string> certs; local [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
pkcs7.c | 169 BIO_printf(bio_err," -print_certs print any certs or crl in the input\n"); 245 STACK_OF(X509) *certs=NULL; 252 certs=p7->d.sign->cert; 256 certs=p7->d.signed_and_enveloped->cert; 263 if (certs != NULL) 267 for (i=0; i<sk_X509_num(certs); i++) 269 x=sk_X509_value(certs,i);
|
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
ocsp_cl.c | 129 if (!sig->certs && !(sig->certs = sk_X509_new_null())) 132 if(!sk_X509_push(sig->certs, cert)) return 0; 147 STACK_OF(X509) *certs, 171 for (i = 0; i < sk_X509_num(certs); i++) 173 x = sk_X509_value(certs, i);
|
ocsp_prn.c | 170 for (i=0; i<sk_X509_num(sig->certs); i++) 172 X509_print(bp, sk_X509_value(sig->certs,i)); 173 PEM_write_bio_X509(bp,sk_X509_value(sig->certs,i)); 280 for (i=0; i<sk_X509_num(br->certs); i++) 282 X509_print(bp, sk_X509_value(br->certs,i)); 283 PEM_write_bio_X509(bp,sk_X509_value(br->certs,i));
|
ocsp_srv.c | 200 if (!resp->certs && !(resp->certs = sk_X509_new_null())) 203 if(!sk_X509_push(resp->certs, cert)) return 0; 210 STACK_OF(X509) *certs, unsigned long flags) 225 for (i = 0; i < sk_X509_num(certs); i++) 227 X509 *tmpcert = sk_X509_value(certs, i);
|
/external/openssl/apps/ |
pkcs7.c | 169 BIO_printf(bio_err," -print_certs print any certs or crl in the input\n"); 245 STACK_OF(X509) *certs=NULL; 252 certs=p7->d.sign->cert; 256 certs=p7->d.signed_and_enveloped->cert; 263 if (certs != NULL) 267 for (i=0; i<sk_X509_num(certs); i++) 269 x=sk_X509_value(certs,i);
|
/external/openssl/crypto/ocsp/ |
ocsp_cl.c | 129 if (!sig->certs && !(sig->certs = sk_X509_new_null())) 132 if(!sk_X509_push(sig->certs, cert)) return 0; 147 STACK_OF(X509) *certs, 171 for (i = 0; i < sk_X509_num(certs); i++) 173 x = sk_X509_value(certs, i);
|
ocsp_prn.c | 170 for (i=0; i<sk_X509_num(sig->certs); i++) 172 X509_print(bp, sk_X509_value(sig->certs,i)); 173 PEM_write_bio_X509(bp,sk_X509_value(sig->certs,i)); 280 for (i=0; i<sk_X509_num(br->certs); i++) 282 X509_print(bp, sk_X509_value(br->certs,i)); 283 PEM_write_bio_X509(bp,sk_X509_value(br->certs,i));
|
ocsp_srv.c | 200 if (!resp->certs && !(resp->certs = sk_X509_new_null())) 203 if(!sk_X509_push(resp->certs, cert)) return 0; 210 STACK_OF(X509) *certs, unsigned long flags) 225 for (i = 0; i < sk_X509_num(certs); i++) 227 X509 *tmpcert = sk_X509_value(certs, i);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
AbstractSessionContext.java | 206 Certificate[] certs = session.getPeerCertificates(); local 207 daos.writeInt(certs.length); 209 for (Certificate cert : certs) { 246 X509Certificate[] certs = new X509Certificate[count]; local 251 certs[i] = OpenSSLX509Certificate.fromX509Der(certData); 254 return new OpenSSLSessionImpl(sessionData, host, port, certs, this);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory3Test.java | 89 Certificate[] certs = new Certificate[3]; local 91 certs[i] = certFs[i].generateCertificate(new ByteArrayInputStream( 94 assertEquals(certs[0], certs[1]); 95 assertEquals(certs[0], certs[2]);
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CredentialHelper.java | 107 ArrayList<byte[]> certs = new ArrayList<byte[]>(mCaCerts.size() + 1); local 109 certs.add(mUserCert.getEncoded()); 112 certs.add(cert.getEncoded()); 114 outStates.putByteArray(CERTS_KEY, Util.toBytes(certs)); 128 ArrayList<byte[]> certs = Util.fromBytes(savedStates.getByteArray(CERTS_KEY)); local 129 for (byte[] cert : certs) { 355 Certificate[] certs = entry.getCertificateChain(); local 356 Log.d(TAG, "# certs extracted = " + certs.length); 357 mCaCerts = new ArrayList<X509Certificate>(certs.length) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory_ImplTest.java | 348 private void verifyCertificates(Collection certs) throws Exception { 351 for (Iterator it = certs.iterator(); it.hasNext();) { 545 Collection certs = local 547 assertNotNull("Factory returned null on correct data", certs); 549 expected_size, certs.size()); 550 verifyCertificates(certs); 577 Collection certs = factory.generateCertificates(bais); local 578 assertNotNull("Factory returned null on correct PKCS7 data", certs); 580 2, certs.size()); 583 for (Iterator it = certs.iterator(); it.hasNext();) 736 Collection certs = factory.generateCertificates(bais); local [all...] |