/libcore/support/src/test/java/tests/resources/x509/ |
create.sh | 116 cat ${DIR}/cert-rsa.der ${DIR}/cert-dsa.der > /tmp/certs.der 117 openssl x509 -inform d -in ${DIR}/cert-rsa.der > /tmp/certs.pem 118 openssl x509 -inform d -in ${DIR}/cert-dsa.der >> /tmp/certs.pem 120 openssl crl2pkcs7 -certfile /tmp/certs.pem -nocrl > ${DIR}/certs-pk7.pem 121 openssl crl2pkcs7 -certfile /tmp/certs.pem -nocrl -outform d > ${DIR}/certs-pk7.der 123 rm /tmp/certs.pem
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
SignedData.java | 91 ASN1Set certs, 100 if (certs != null) 102 for (Enumeration en = certs.getObjects(); en.hasMoreElements();)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 32 * base 64 encoded certs, as well as the BER binaries of certificates and some classes of PKCS#7 233 List certs = new ArrayList(); local 237 certs.add(cert); 240 return certs;
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
pkcs12.c | 283 BIO_printf (bio_err, "-certfile f add all certs in f\n"); 424 STACK_OF(X509) *certs=NULL; 452 CRYPTO_push_info("reading certs from input"); 455 /* Load in all certs in input file */ 458 certs = load_certs(bio_err, infile, FORMAT_PEM, NULL, e, 460 if (!certs) 466 for(i = 0; i < sk_X509_num(certs); i++) 468 x = sk_X509_value(certs, i); 476 (void)sk_X509_delete(certs, i); 491 CRYPTO_push_info("reading certs from input 2") [all...] |
/external/openssl/apps/ |
pkcs12.c | 283 BIO_printf (bio_err, "-certfile f add all certs in f\n"); 424 STACK_OF(X509) *certs=NULL; 452 CRYPTO_push_info("reading certs from input"); 455 /* Load in all certs in input file */ 458 certs = load_certs(bio_err, infile, FORMAT_PEM, NULL, e, 460 if (!certs) 466 for(i = 0; i < sk_X509_num(certs); i++) 468 x = sk_X509_value(certs, i); 476 (void)sk_X509_delete(certs, i); 491 CRYPTO_push_info("reading certs from input 2") [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CertificateFactory.java | 98 List<? extends T> certs = fromPkcs7DerInputStream(pbis); local 99 if (certs.size() == 0) { 102 return certs.get(0);
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 129 private X509Certificate[] dumpCerts(X509Certificate[] certs) { 131 for (X509Certificate cert : certs) { 136 return certs;
|
/external/chromium_org/net/tools/quic/test_tools/ |
quic_test_client.cc | 36 const vector<string>& certs, 44 if (certs.empty()) { 48 // Convert certs to X509Certificate. 49 vector<StringPiece> cert_pieces(certs.size()); 50 for (unsigned i = 0; i < certs.size(); i++) { 51 cert_pieces[i] = StringPiece(certs[i]);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CertificateTest.java | 110 private static final String CERTS_X509_PEM = "x509/certs.pem"; 112 private static final String CERTS_X509_DER = "x509/certs.der"; 114 private static final String CERTS_PKCS7_PEM = "x509/certs-pk7.pem"; 116 private static final String CERTS_PKCS7_DER = "x509/certs-pk7.der"; 118 /** A list of certs that are all slightly different. */ [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertPathValidatorUtilities.java | 722 Set certs = new HashSet(); local 734 certs.addAll(certStore.getMatches(certSelect)); 748 certs.addAll(certStore.getCertificates(certSelect)); 758 return certs; 766 // Set certs = new HashSet(); 778 // certs.addAll(certStore.getMatches(certSelect)); 787 // return certs; 1382 Set certs = new HashSet(); local [all...] |
/external/chromium/net/base/ |
x509_certificate_openssl.cc | 43 STACK_OF(X509)* certs = NULL; 46 certs = pkcs7_cert.get()->d.sign->cert; 48 certs = pkcs7_cert.get()->d.signed_and_enveloped->cert; 51 if (certs) { 52 for (int i = 0; i < sk_X509_num(certs); ++i) { 54 X509Certificate::DupOSCertHandle(sk_X509_value(certs, i)); 486 // correctly verified certs as being from a known root. TODO(joth): if the
|
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
ocsp.h | 140 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 146 STACK_OF(X509) *certs; member in struct:ocsp_signature_st 285 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 308 STACK_OF(X509) *certs; member in struct:ocsp_basic_response_st 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags); 479 STACK_OF(X509) *certs, unsigned long flags); 556 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
pcy_tree.c | 143 static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs, 157 n = sk_X509_num(certs); 188 x = sk_X509_value(certs, i); 256 x = sk_X509_value(certs, i); 768 STACK_OF(X509) *certs, 778 ret = tree_init(&tree, certs, flags);
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
ocsp.h | 140 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 146 STACK_OF(X509) *certs; member in struct:ocsp_signature_st 285 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 308 STACK_OF(X509) *certs; member in struct:ocsp_basic_response_st 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags); 479 STACK_OF(X509) *certs, unsigned long flags); 556 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
|
/external/openssl/crypto/ocsp/ |
ocsp.h | 140 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 146 STACK_OF(X509) *certs; member in struct:ocsp_signature_st 285 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 308 STACK_OF(X509) *certs; member in struct:ocsp_basic_response_st 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags); 479 STACK_OF(X509) *certs, unsigned long flags); 556 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
|
/external/openssl/crypto/x509v3/ |
pcy_tree.c | 143 static int tree_init(X509_POLICY_TREE **ptree, STACK_OF(X509) *certs, 157 n = sk_X509_num(certs); 188 x = sk_X509_value(certs, i); 256 x = sk_X509_value(certs, i); 768 STACK_OF(X509) *certs, 778 ret = tree_init(&tree, certs, flags);
|
/external/openssl/include/openssl/ |
ocsp.h | 140 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 146 STACK_OF(X509) *certs; member in struct:ocsp_signature_st 285 * certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL } 308 STACK_OF(X509) *certs; member in struct:ocsp_basic_response_st 434 STACK_OF(X509) *certs, 456 int OCSP_request_verify(OCSP_REQUEST *req, STACK_OF(X509) *certs, X509_STORE *store, unsigned long flags); 479 STACK_OF(X509) *certs, unsigned long flags); 556 int OCSP_basic_verify(OCSP_BASICRESP *bs, STACK_OF(X509) *certs,
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 156 Certificate certs[] = { local 166 kss[i].setKeyEntry(alias, kk, certs); 172 assertEquals(kss[i].getCertificateChain(alias).length, certs.length);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedHelper.java | 197 List certs = new ArrayList(certHldrs.size()); local 201 certs.add(new X509V2AttributeCertificate(((X509AttributeCertificateHolder)it.next()).getEncoded())); 205 "AttributeCertificate/" +type, new X509CollectionStoreParameters(certs), provider); 228 // List certs = new ArrayList(certHldrs.size()); 232 // certs.add(converter.getCertificate((X509CertificateHolder)it.next())); 236 // "Certificate/" +type, new X509CollectionStoreParameters(certs), provider);
|
/external/chromium_org/chromeos/network/onc/ |
onc_certificate_importer_impl_unittest.cc | 154 net::CertificateList certs = ListCertsInSlot(); local 155 for (size_t i = 0; i < certs.size(); ++i) { 156 if (!net::NSSCertDatabase::GetInstance()->DeleteCertAndKey(certs[i]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 155 Certificate certs[] = { local 165 kss[i].setKeyEntry(alias, kk, certs); 171 assertEquals(kss[i].getCertificateChain(alias).length, certs.length);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/ |
PKCS12KeyStoreSpi.java | 98 private IgnoresCaseHashtable certs = new IgnoresCaseHashtable(); field in class:PKCS12KeyStoreSpi 216 Enumeration e = certs.keys(); 238 return (certs.get(alias) != null || keys.get(alias) != null); 251 Certificate c = (Certificate)certs.remove(alias); 283 Certificate c = (Certificate)certs.get(alias); 307 Enumeration c = certs.elements(); 308 Enumeration k = certs.keys(); 448 if (keys.get(alias) == null && certs.get(alias) == null) 471 return (certs.get(alias) != null && keys.get(alias) == null); 490 certs.put(alias, cert) [all...] |
/external/chromium/chrome/common/net/ |
x509_certificate_model_nss.cc | 233 const std::vector<scoped_refptr<X509Certificate> >& certs, 238 for (size_t i = 0; i < certs.size(); ++i) { 241 CERT_DupCertificate(certs[i]->os_cert_handle())); 251 static_cast<int>(certs.size()));
|
/external/chromium_org/chrome/common/net/ |
x509_certificate_model_nss.cc | 237 const std::vector<scoped_refptr<X509Certificate> >& certs, 242 for (size_t i = 0; i < certs.size(); ++i) { 245 CERT_DupCertificate(certs[i]->os_cert_handle())); 255 static_cast<int>(certs.size()));
|
/external/chromium_org/net/ssl/ |
default_server_bound_cert_store.cc | 337 scoped_ptr<ScopedVector<ServerBoundCert> > certs) { 340 for (std::vector<ServerBoundCert*>::const_iterator it = certs->begin(); 341 it != certs->end(); ++it) { 346 certs->weak_clear();
|