/external/nist-pkits/src/libcore/java/security/cert/ |
X509CertificateNistPkitsTest.java | 96 final String fileName = "nist-pkits/crls/" + name; 110 X509CRL[] crls = new X509CRL[names.length]; local 113 crls[i] = getCRL(f, names[i]); 116 return crls; 127 X509CRL[] crls = getCRLs(f, pathCRLs); local 131 certCollection.addAll(Arrays.asList(crls)); 147 private void assertInvalidPath(String trustAnchor, String[] certs, String[] crls) 151 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls); 163 private void assertValidPath(String trustAnchor, String[] certs, String[] crls) 168 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls); 186 String[] crls = { local 203 String[] crls = { local 220 String[] crls = { local 237 String[] crls = { local 255 String[] crls = { local 273 String[] crls = { local 290 String[] crls = { local 307 String[] crls = { local 324 String[] crls = { local 341 String[] crls = { local 358 String[] crls = { local 375 String[] crls = { local 392 String[] crls = { local 409 String[] crls = { local 426 String[] crls = { local 443 String[] crls = { local 460 String[] crls = { local 477 String[] crls = { local 494 String[] crls = { local 511 String[] crls = { local 528 String[] crls = { local 545 String[] crls = { local 562 String[] crls = { local 579 String[] crls = { local 596 String[] crls = { local 613 String[] crls = { local 630 String[] crls = { local 648 String[] crls = { local 665 String[] crls = { local 682 String[] crls = { local 699 String[] crls = { local 716 String[] crls = { local 734 String[] crls = { local 751 String[] crls = { local 768 String[] crls = { local 785 String[] crls = { local 802 String[] crls = { local 819 String[] crls = { local 836 String[] crls = { local 853 String[] crls = { local 870 String[] crls = { local 887 String[] crls = { local 904 String[] crls = { local 922 String[] crls = { local 940 String[] crls = { local 958 String[] crls = { local 976 String[] crls = { local 994 String[] crls = { local 1012 String[] crls = { local 1031 String[] crls = { local 1050 String[] crls = { local 1069 String[] crls = { local 1088 String[] crls = { local 1107 String[] crls = { local 1125 String[] crls = { local 1142 String[] crls = { local 1159 String[] crls = { local 1176 String[] crls = { local 1194 String[] crls = { local 1213 String[] crls = { local 1231 String[] crls = { local 1248 String[] crls = { local 1267 String[] crls = { local 1288 String[] crls = { local 1310 String[] crls = { local 1333 String[] crls = { local 1356 String[] crls = { local 1379 String[] crls = { local 1400 String[] crls = { local 1419 String[] crls = { local 1440 String[] crls = { local 1458 String[] crls = { local 1475 String[] crls = { local 1492 String[] crls = { local 1509 String[] crls = { local 1526 String[] crls = { local 1545 String[] crls = { local 1562 String[] crls = { local 1579 String[] crls = { local 1596 String[] crls = { local 1613 String[] crls = { local 1630 String[] crls = { local 1647 String[] crls = { local 1664 String[] crls = { local 1681 String[] crls = { local 1698 String[] crls = { local 1715 String[] crls = { local 1733 String[] crls = { local 1752 String[] crls = { local 1771 String[] crls = { local 1790 String[] crls = { local 1809 String[] crls = { local 1828 String[] crls = { local 1847 String[] crls = { local 1866 String[] crls = { local 1883 String[] crls = { local 1900 String[] crls = { local 1917 String[] crls = { local 1934 String[] crls = { local 1951 String[] crls = { local 1968 String[] crls = { local 1985 String[] crls = { local 2003 String[] crls = { local 2022 String[] crls = { local 2041 String[] crls = { local 2059 String[] crls = { local 2076 String[] crls = { local 2093 String[] crls = { local 2110 String[] crls = { local 2127 String[] crls = { local 2144 String[] crls = { local 2161 String[] crls = { local 2178 String[] crls = { local 2195 String[] crls = { local 2212 String[] crls = { local 2229 String[] crls = { local 2246 String[] crls = { local 2263 String[] crls = { local 2280 String[] crls = { local 2297 String[] crls = { local 2314 String[] crls = { local 2331 String[] crls = { local 2348 String[] crls = { local 2365 String[] crls = { local 2382 String[] crls = { local 2399 String[] crls = { local 2416 String[] crls = { local 2433 String[] crls = { local 2450 String[] crls = { local 2468 String[] crls = { local 2486 String[] crls = { local 2504 String[] crls = { local 2522 String[] crls = { local 2540 String[] crls = { local 2558 String[] crls = { local 2576 String[] crls = { local 2593 String[] crls = { local 2611 String[] crls = { local 2629 String[] crls = { local 2647 String[] crls = { local 2665 String[] crls = { local 2683 String[] crls = { local 2702 String[] crls = { local 2721 String[] crls = { local 2739 String[] crls = { local 2757 String[] crls = { local 2775 String[] crls = { local 2792 String[] crls = { local 2809 String[] crls = { local 2826 String[] crls = { local 2843 String[] crls = { local 2861 String[] crls = { local 2879 String[] crls = { local 2897 String[] crls = { local 2915 String[] crls = { local 2933 String[] crls = { local 2951 String[] crls = { local 2969 String[] crls = { local 2987 String[] crls = { local 3004 String[] crls = { local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
SignedData.java | 33 private ASN1Set crls; field in class:SignedData 57 ASN1Set crls, 60 this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); 64 this.crls = crls; 66 this.crlsBer = crls instanceof BERSet; 74 // ((crls is present) AND 75 // (any crls with a type of other are present)) 92 ASN1Set crls, 130 if (crls != null) // no need to check if otherCert is tru [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
SignedData.java | 26 private ASN1Set crls; field in class:SignedData 56 crls = _crls; 87 crls = ASN1Set.getInstance(tagged, false); 122 return crls; 140 * crls 158 if (crls != null) 160 v.add(new DERTaggedObject(false, 1, crls));
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
SignedData.java | 46 * crls 55 private final List<CertificateList> crls; field in class:SignedData 59 List<Certificate> certificates, List<CertificateList> crls, 65 this.crls = crls; 74 return crls; 99 if (crls != null) { 100 res.append(crls.toString()); 118 setOptional(4); // crls is optional 127 values[4] = sd.crls; [all...] |
/external/chromium_org/net/tools/crl_set_dump/ |
crl_set_dump.cc | 72 const net::CRLSet::CRLList& crls = final_crl_set->crls(); local 73 for (net::CRLSet::CRLList::const_iterator i = crls.begin(); i != crls.end();
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
verify.c | 75 STACK_OF(X509_CRL) *crls, ENGINE *e); 87 STACK_OF(X509_CRL) *crls = NULL; 219 crls = load_crls(bio_err, crlfile, FORMAT_PEM, 220 NULL, e, "other CRLs"); 221 if(!crls) 228 if (1 != check(cert_ctx, NULL, untrusted, trusted, crls, e)) 234 if (1 != check(cert_ctx,argv[i], untrusted, trusted, crls, e)) 261 sk_X509_CRL_pop_free(crls, X509_CRL_free); 268 STACK_OF(X509_CRL) *crls, ENGINE *e) 292 if (crls) [all...] |
pkcs7.c | 246 STACK_OF(X509_CRL) *crls=NULL; 253 crls=p7->d.sign->crl; 257 crls=p7->d.signed_and_enveloped->crl; 277 if (crls != NULL) 281 for (i=0; i<sk_X509_CRL_num(crls); i++) 283 crl=sk_X509_CRL_value(crls,i);
|
/external/openssl/apps/ |
verify.c | 75 STACK_OF(X509_CRL) *crls, ENGINE *e); 87 STACK_OF(X509_CRL) *crls = NULL; 219 crls = load_crls(bio_err, crlfile, FORMAT_PEM, 220 NULL, e, "other CRLs"); 221 if(!crls) 228 if (1 != check(cert_ctx, NULL, untrusted, trusted, crls, e)) 234 if (1 != check(cert_ctx,argv[i], untrusted, trusted, crls, e)) 261 sk_X509_CRL_pop_free(crls, X509_CRL_free); 268 STACK_OF(X509_CRL) *crls, ENGINE *e) 292 if (crls) [all...] |
pkcs7.c | 246 STACK_OF(X509_CRL) *crls=NULL; 253 crls=p7->d.sign->crl; 257 crls=p7->d.signed_and_enveloped->crl; 277 if (crls != NULL) 281 for (i=0; i<sk_X509_CRL_num(crls); i++) 283 crl=sk_X509_CRL_value(crls,i);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCRLUtil.java | 36 throw new AnnotatedException("Exception obtaining complete CRLs.", e); 85 throw new AnnotatedException("Exception obtaining complete CRLs.", e); 92 * Return a Collection of all CRLs found in the X509Store's that are 96 * to select the CRLs 99 * These are used to search for CRLs 107 Set crls = new HashSet(); local 123 crls.addAll(store.getMatches(crlSelect)); 138 crls.addAll(store.getCRLs(crlSelect)); 152 return crls;
|
CertPathValidatorUtilities.java | 1218 Set crls = CRL_UTIL.findCRLs(crlselect, paramsPKIX, currentDate); local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory_ImplTest.java | 53 * Certificates and CRLs. 208 * The public key to verify generated Certificates and CRLs. 255 * Generates CRLs on the base of PKCS7 SignedData Object 260 // Testing the CRLs generation on the base of PKCS7 SignedData object 264 Collection crls = factory.generateCRLs(bais); local 265 assertNotNull("Factory returned null on correct PKCS7 data", crls); 267 2, crls.size()); 271 for (Iterator i = crls.iterator(); i.hasNext();) { 299 * Generates CRLs on the base of PEM encoding. 339 private void verifyCRLs(Collection crls) throws Exception 446 Collection crls = local 565 Collection crls = factory.generateCRLs(bais); local [all...] |
/external/nist-pkits/ |
extract-pkits-tests.pl | 66 push(@usedFiles, "crls/" . $crlName); 93 String[] crls = { 104 assertValidPath(trustAnchor, certs, crls); 108 assertInvalidPath(trustAnchor, certs, crls);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedGenerator.java | 112 protected List crls = new ArrayList(); field in class:CMSSignedGenerator 198 * add the certificates and CRLs contained in the given CertStore 203 * @param certStore CertStore containing the public key certificates and CRLs 213 crls.addAll(CMSUtils.getCRLsFromStore(certStore)); 249 crls.add(crl.toASN1Structure()); 253 * Add the CRLs in crlStore to the CRL set to be included with the generated SignedData message. 255 * @param crlStore the store containing the CRLs to be included. 256 * @throws CMSException if the CRLs cannot be encoded for adding. 262 crls.addAll(CMSUtils.getCRLsFromStore(crlStore)); 302 // crls.add(new DERTaggedObject(false, 1, new OtherRevocationInfoFormat(otherRevocationInfoFormat, otherRe (…) [all...] |
CMSSignedData.java | 360 // * return a X509Store containing CRLs, if any, contained 365 // * @return a store of CRLs 380 // * return a X509Store containing CRLs, if any, contained 385 // * @return a store of CRLs 404 // * return a CertStore containing the certificates and CRLs associated with 421 // * return a CertStore containing the certificates and CRLs associated with 685 * @param certsAndCrls the new certificates and CRLs to be used. 701 // replace the certs and crls in the SignedData object 704 ASN1Set crls = null; local 726 crls = set [all...] |
CMSUtils.java | 145 List crls = new ArrayList(); local 153 crls.add(CertificateList.getInstance(ASN1Primitive.fromByteArray(c.getEncoded()))); 156 return crls; 160 throw new CMSException("error processing crls", e); 164 throw new CMSException("error processing crls", e); 168 throw new CMSException("error encoding crls", e);
|
CMSSignedDataGenerator.java | 725 if (crls.size() != 0) 727 certrevlist = CMSUtils.createBerSetFromList(crls);
|
/external/chromium_org/net/cert/ |
crl_set.h | 82 // crls returns the internal state of this CRLSet. It should only be used in 84 const CRLList& crls() const;
|
crl_set_unittest.cc | 192 const net::CRLSet::CRLList& crls = set->crls(); local 193 ASSERT_EQ(1u, crls.size()); 194 const std::vector<std::string>& serials = crls[0].second; 245 const net::CRLSet::CRLList& crls = delta_set->crls(); local 246 ASSERT_EQ(2u, crls.size()); 247 const std::vector<std::string>& serials = crls[1].second; 273 const net::CRLSet::CRLList& crls = delta2_set->crls(); local 292 const net::CRLSet::CRLList& crls = delta_set->crls(); local [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory4Test.java | 135 Collection crls = fact.generateCRLs(is); local 136 assertTrue("The CRLs in \"" + certUrl.toExternalForm() 137 + "\" were not parsed correctly", crls != null 138 && crls.size() > 0); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 295 { // lazy evaluate to help processing of large CRLs 310 * Returns a (possibly empty) collection view of the CRLs read from 313 * The inStream may contain a sequence of DER-encoded CRLs, or 315 * only signficant field being crls. In particular the signature 323 List crls = new ArrayList(); local 327 crls.add(crl); 330 return crls;
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory4Test.java | 138 Collection<? extends CRL> crls = fact.generateCRLs(is); local 139 assertTrue("The CRLs in \"" + certUrl.toExternalForm() 140 + "\" were not parsed correctly", crls != null 141 && crls.size() > 0); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
x509_vfy.c | 127 X509_CRL *base, STACK_OF(X509_CRL) *crls); 821 STACK_OF(X509_CRL) *crls) 829 for (i = 0; i < sk_X509_CRL_num(crls); i++) 831 crl = sk_X509_CRL_value(crls, i); 858 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls); 944 X509_CRL *base, STACK_OF(X509_CRL) *crls) 952 for (i = 0; i < sk_X509_CRL_num(crls); i++) 954 delta = sk_X509_CRL_value(crls, i); 987 /* Reason codes or indirect CRLs need extended CRL support */ 1118 crl_ctx.crls = ctx->crls [all...] |
/external/openssl/crypto/x509/ |
x509_vfy.c | 127 X509_CRL *base, STACK_OF(X509_CRL) *crls); 821 STACK_OF(X509_CRL) *crls) 829 for (i = 0; i < sk_X509_CRL_num(crls); i++) 831 crl = sk_X509_CRL_value(crls, i); 858 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls); 944 X509_CRL *base, STACK_OF(X509_CRL) *crls) 952 for (i = 0; i < sk_X509_CRL_num(crls); i++) 954 delta = sk_X509_CRL_value(crls, i); 987 /* Reason codes or indirect CRLs need extended CRL support */ 1118 crl_ctx.crls = ctx->crls [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertFactoryImpl.java | 49 * It supports CRLs and Certificates in (PEM) ASN.1 DER encoded form, 51 * For Certificates and CRLs factory maintains the caching 318 // there were not read X.509 CRLs, so 354 List<CertificateList> crls = data.getCRLs(); local 355 if (crls != null) { 356 for (CertificateList crl : crls) { [all...] |