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

1 2

  /external/nist-pkits/src/libcore/java/security/cert/
X509CertificateNistPkitsTest.java 114 final String fileName = "nist-pkits/crls/" + name;
128 X509CRL[] crls = new X509CRL[names.length]; local
131 crls[i] = getCRL(f, names[i]);
134 return crls;
145 X509CRL[] crls = getCRLs(f, pathCRLs); local
149 certCollection.addAll(Arrays.asList(crls));
170 private void assertInvalidPath(String trustAnchor, String[] certs, String[] crls)
172 assertInvalidPath(trustAnchor, certs, certs, crls);
176 String[] crls) throws Exception, NoSuchAlgorithmException,
180 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls);
221 String[] crls = { local
238 String[] crls = { local
255 String[] crls = { local
272 String[] crls = { local
290 String[] crls = { local
308 String[] crls = { local
325 String[] crls = { local
342 String[] crls = { local
359 String[] crls = { local
376 String[] crls = { local
393 String[] crls = { local
410 String[] crls = { local
427 String[] crls = { local
444 String[] crls = { local
461 String[] crls = { local
478 String[] crls = { local
495 String[] crls = { local
512 String[] crls = { local
529 String[] crls = { local
546 String[] crls = { local
563 String[] crls = { local
580 String[] crls = { local
597 String[] crls = { local
614 String[] crls = { local
631 String[] crls = { local
648 String[] crls = { local
665 String[] crls = { local
683 String[] crls = { local
700 String[] crls = { local
717 String[] crls = { local
734 String[] crls = { local
751 String[] crls = { local
769 String[] crls = { local
786 String[] crls = { local
803 String[] crls = { local
820 String[] crls = { local
837 String[] crls = { local
854 String[] crls = { local
871 String[] crls = { local
888 String[] crls = { local
905 String[] crls = { local
922 String[] crls = { local
939 String[] crls = { local
962 String[] crls = { local
985 String[] crls = { local
1008 String[] crls = { local
1026 String[] crls = { local
1044 String[] crls = { local
1062 String[] crls = { local
1086 String[] crls = { local
1105 String[] crls = { local
1129 String[] crls = { local
1148 String[] crls = { local
1167 String[] crls = { local
1185 String[] crls = { local
1202 String[] crls = { local
1219 String[] crls = { local
1236 String[] crls = { local
1254 String[] crls = { local
1273 String[] crls = { local
1291 String[] crls = { local
1308 String[] crls = { local
1327 String[] crls = { local
1348 String[] crls = { local
1370 String[] crls = { local
1393 String[] crls = { local
1416 String[] crls = { local
1439 String[] crls = { local
1460 String[] crls = { local
1479 String[] crls = { local
1500 String[] crls = { local
1518 String[] crls = { local
1535 String[] crls = { local
1552 String[] crls = { local
1569 String[] crls = { local
1586 String[] crls = { local
1605 String[] crls = { local
1622 String[] crls = { local
1639 String[] crls = { local
1656 String[] crls = { local
1673 String[] crls = { local
1690 String[] crls = { local
1707 String[] crls = { local
1724 String[] crls = { local
1741 String[] crls = { local
1758 String[] crls = { local
1775 String[] crls = { local
1793 String[] crls = { local
1812 String[] crls = { local
1831 String[] crls = { local
1850 String[] crls = { local
1869 String[] crls = { local
1888 String[] crls = { local
1907 String[] crls = { local
1926 String[] crls = { local
1943 String[] crls = { local
1960 String[] crls = { local
1977 String[] crls = { local
1994 String[] crls = { local
2011 String[] crls = { local
2028 String[] crls = { local
2045 String[] crls = { local
2063 String[] crls = { local
2082 String[] crls = { local
2101 String[] crls = { local
2119 String[] crls = { local
2136 String[] crls = { local
2153 String[] crls = { local
2170 String[] crls = { local
2187 String[] crls = { local
2204 String[] crls = { local
2221 String[] crls = { local
2238 String[] crls = { local
2255 String[] crls = { local
2272 String[] crls = { local
2289 String[] crls = { local
2306 String[] crls = { local
2323 String[] crls = { local
2340 String[] crls = { local
2357 String[] crls = { local
2374 String[] crls = { local
2391 String[] crls = { local
2408 String[] crls = { local
2425 String[] crls = { local
2442 String[] crls = { local
2459 String[] crls = { local
2476 String[] crls = { local
2493 String[] crls = { local
2510 String[] crls = { local
2528 String[] crls = { local
2546 String[] crls = { local
2564 String[] crls = { local
2582 String[] crls = { local
2600 String[] crls = { local
2618 String[] crls = { local
2636 String[] crls = { local
2653 String[] crls = { local
2676 String[] crls = { local
2699 String[] crls = { local
2717 String[] crls = { local
2735 String[] crls = { local
2758 String[] crls = { local
2782 String[] crls = { local
2806 String[] crls = { local
2824 String[] crls = { local
2842 String[] crls = { local
2865 String[] crls = { local
2882 String[] crls = { local
2899 String[] crls = { local
2916 String[] crls = { local
2933 String[] crls = { local
2951 String[] crls = { local
2969 String[] crls = { local
2987 String[] crls = { local
3005 String[] crls = { local
3023 String[] crls = { local
3041 String[] crls = { local
3059 String[] crls = { local
3077 String[] crls = { local
3094 String[] crls = { local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
SignedData.java 28 * crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,
41 * ((crls is present) AND
42 * (any crls with a type of other are present))
70 private ASN1Set crls; field in class:SignedData
108 ASN1Set crls,
111 this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos);
115 this.crls = crls;
117 this.crlsBer = crls instanceof BERSet;
125 ASN1Set crls,
    [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));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
PKIXCRLUtil.java 34 throw new AnnotatedException("Exception obtaining complete CRLs.", e);
66 * Return a Collection of all CRLs found in the X509Store's that are
70 * to select the CRLs
73 * These are used to search for CRLs
81 Set crls = new HashSet(); local
98 // crls.addAll(store.getMatches(crlSelect));
114 crls.addAll(PKIXCRLStoreSelector.getCRLs(crlSelect, store));
128 return crls;
CertPathValidatorUtilities.java 1116 Set crls = CRL_UTIL.findCRLs(crlSelect, validityDate, paramsPKIX.getCertStores(), paramsPKIX.getCRLStores()); local
    [all...]
  /external/boringssl/src/crypto/x509/
pkcs7.c 153 CBS signed_data, crls; local
164 /* Even if only CRLs are included, there may be an empty certificates block.
173 if (!CBS_get_asn1(&signed_data, &crls,
179 while (CBS_len(&crls) > 0) {
184 if (!CBS_get_asn1_element(&crls, &crl_data, CBS_ASN1_SEQUENCE)) {
326 const STACK_OF(X509_CRL) *crls = arg;
336 for (i = 0; i < sk_X509_CRL_num(crls); i++) {
337 X509_CRL *crl = sk_X509_CRL_value(crls, i);
351 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) {
352 return pkcs7_bundle(out, pkcs7_bundle_crls_cb, crls);
    [all...]
x509_vfy.c 133 X509_CRL *base, STACK_OF(X509_CRL) *crls);
966 STACK_OF(X509_CRL) *crls)
975 for (i = 0; i < sk_X509_CRL_num(crls); i++)
977 crl = sk_X509_CRL_value(crls, i);
1004 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls);
1090 X509_CRL *base, STACK_OF(X509_CRL) *crls)
1098 for (i = 0; i < sk_X509_CRL_num(crls); i++)
1100 delta = sk_X509_CRL_value(crls, i);
1133 /* Reason codes or indirect CRLs need extended CRL support */
1264 crl_ctx.crls = ctx->crls
    [all...]
pkcs7_test.c     [all...]
  /libcore/ojluni/src/main/java/sun/security/pkcs/
PKCS7.java 57 * For signedData, <tt>crls</tt>, <tt>attributes</tt> and
71 private X509CRL[] crls = null; field in class:PKCS7
183 * @param crls an array of CRLs
189 X509CRL[] crls,
196 this.crls = crls;
333 // check if crls (implicit tag) are provided (crls are OPTIONAL)
338 crls = new X509CRL[len]
    [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(); ) {
301 * Generates CRLs on the base of PEM encoding.
342 private void verifyCRLs(Collection crls) throws Exception
454 Collection crls = local
574 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);
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/
DistributionPointFetcher.java 41 * Class to obtain CRLs via the CRLDistributionPoints extension.
45 * This class uses the URICertStore class to fetch CRLs. The URICertStore
122 Collection<X509CRL> crls = getCRLs(selector, certImpl, local
125 results.addAll(crls);
128 debug.println("Returning " + results.size() + " CRLs");
137 * Download CRLs from the given distribution point, verify and return them.
140 * @throws CertStoreException if there is an error retrieving the CRLs
141 * from one of the GeneralNames and no other CRLs are retrieved from
199 // only throw CertStoreException if no CRLs are retrieved
204 Collection<X509CRL> crls = new ArrayList<>(2) local
246 Collection<? extends CRL> crls = ucs.getCRLs(null); local
273 Collection<X509CRL> crls = new ArrayList<>(); local
    [all...]
RevocationChecker.java 451 // validity of CRLs
519 "possible crls.size() = " + possibleCRLs.size());
523 // Now that we have a list of possible CRLs, see which ones can
532 "approved crls.size() = " + approvedCRLs.size());
543 // all CRLs returned by the DP Fetcher have also been verified
604 // See if the cert is in the set of approved crls.
784 * @param crls a set of possible CRLs to test for acceptability
786 * @param signFlag <code>true</code> if prevKey was trusted to sign CRLs
790 * @return a collection of approved crls (or an empty collection
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSUtils.java 153 List crls = new ArrayList(); local
165 crls.add(c.toASN1Structure());
174 // crls.add(new DERTaggedObject(false, 1, infoFormat));
179 crls.add(rev);
183 return crls;
CMSSignedDataGenerator.java 199 if (crls.size() != 0)
201 certrevlist = CMSUtils.createBerSetFromList(crls);
CMSSignedGenerator.java 87 protected List crls = new ArrayList(); field in class:CMSSignedGenerator
141 crls.add(crl.toASN1Structure());
145 * Add the CRLs in crlStore to the CRL set to be included with the generated SignedData message.
147 * @param crlStore the store containing the CRLs to be included.
148 * @throws CMSException if the CRLs cannot be encoded for adding.
154 crls.addAll(CMSUtils.getCRLsFromStore(crlStore));
194 // crls.add(new DERTaggedObject(false, 1, new OtherRevocationInfoFormat(otherRevocationInfoFormat, otherRevocationInfo)));
207 // crls.addAll(CMSUtils.getOthersFromStore(otherRevocationInfoFormat, otherRevocationInfos));
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertificateFactory4Test.java 137 Collection crls = fact.generateCRLs(is); local
138 assertTrue("The CRLs in \"" + certUrl.toExternalForm()
139 + "\" were not parsed correctly", crls != null
140 && crls.size() > 0);
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
CertificateFactory.java 299 { // lazy evaluate to help processing of large CRLs
314 * Returns a (possibly empty) collection view of the CRLs read from
317 * The inStream may contain a sequence of DER-encoded CRLs, or
319 * only signficant field being crls. In particular the signature
327 List crls = new ArrayList(); local
331 crls.add(crl);
334 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...]
  /libcore/ojluni/src/main/java/sun/security/provider/certpath/ldap/
LDAPCertStore.java 96 * the full CRLs. It is currently false initially but set to true once any
98 * that CRLs could be rather large but are rarely used. This implementation
168 * Flag indicating whether we should prefetch CRLs.
705 * Gets CRLs from an attribute id and location in the LDAP directory.
706 * Returns a Collection containing only the CRLs that match the
711 * @param sel a CRLSelector that the CRLs must match
712 * @return a Collection of CRLs found
718 /* fetch the encoded crls from storage */
731 List<X509CRL> crls = new ArrayList<>(n); local
737 crls.add((X509CRL)crl)
787 HashSet<X509CRL> crls = new HashSet<>(); local
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/security/authentication/
ClientCertAuthenticator.java 110 Collection<? extends CRL> crls = loadCRL(_crlPath); local
111 CertificateValidator validator = new CertificateValidator(trustStore, crls);
  /external/jetty/src/java/org/eclipse/jetty/util/security/
CertificateValidator.java 76 * @param crls
78 public CertificateValidator(KeyStore trustStore, Collection<? extends CRL> crls)
86 _crls = crls;
  /external/jetty/src/java/org/eclipse/jetty/util/ssl/
SslContextFactory.java 267 Collection<? extends CRL> crls = loadCRL(_crlPath); local
283 CertificateValidator validator = new CertificateValidator(trustStore, crls);
292 TrustManager[] trustManagers = getTrustManagers(trustStore,crls);
    [all...]
  /libcore/ojluni/src/main/java/sun/security/provider/
X509Factory.java 43 * certification paths, and X.509 v2 certificate revocation lists (CRLs).
380 * Returns a (possibly empty) collection view of X.509 CRLs read
383 * @param is the input stream with the CRLs.
424 // no crls provided
438 * X.509 CRLs (in binary or base 64 encoded format) OR as a single PKCS#7
452 X509CRL[] crls = pkcs7.getCRLs(); local
453 // CRLs are optional in PKCS #7
454 if (crls != null) {
455 return Arrays.asList(crls);
457 // no crls provide
    [all...]
  /external/boringssl/src/include/openssl/
x509_vfy.h 236 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */ member in struct:x509_store_ctx_st
377 /* Lookup CRLs */
379 /* Lookup CRLs for whole chain */
397 /* Extended CRL features such as indirect CRLs, alternate CRL signing keys */

Completed in 788 milliseconds

1 2