Home
last modified time | relevance | path

Searched refs:crls (Results 1 – 24 of 24) sorted by relevance

/external/nist-pkits/src/libcore/java/security/cert/
DX509CertificateNistPkitsTest.java110 X509CRL[] crls = new X509CRL[names.length]; in getCRLs() local
113 crls[i] = getCRL(f, names[i]); in getCRLs()
116 return crls; in getCRLs()
127 X509CRL[] crls = getCRLs(f, pathCRLs); in getTestPathParams() local
131 certCollection.addAll(Arrays.asList(crls)); in getTestPathParams()
147 private void assertInvalidPath(String trustAnchor, String[] certs, String[] crls) in assertInvalidPath() argument
151 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls); in assertInvalidPath()
163 private void assertValidPath(String trustAnchor, String[] certs, String[] crls) in assertValidPath() argument
168 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls); in assertValidPath()
186 String[] crls = { in testSignatureVerification_ValidSignaturesTest1() local
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DSignedData.java71 private ASN1Set crls; field in SignedData
108 ASN1Set crls, in SignedData() argument
111 … this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); in SignedData()
115 this.crls = crls; in SignedData()
117 this.crlsBer = crls instanceof BERSet; in SignedData()
125 ASN1Set crls, in calculateVersion() argument
163 if (crls != null) // no need to check if otherCert is true in calculateVersion()
165 for (Enumeration en = crls.getObjects(); en.hasMoreElements();) in calculateVersion()
248 crls = ASN1Set.getInstance(tagged, false); in SignedData()
283 return crls; in getCRLs()
[all …]
/external/boringssl/src/crypto/x509/
Dpkcs7_test.c537 STACK_OF(X509_CRL) *crls = sk_X509_CRL_new_null(); in test_crl_reparse()
543 if (!PKCS7_get_CRLs(crls, &pkcs7)) { in test_crl_reparse()
549 if (!PKCS7_bundle_CRLs(&cbb, crls) || in test_crl_reparse()
561 if (sk_X509_CRL_num(crls) != sk_X509_CRL_num(crls)) { in test_crl_reparse()
566 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in test_crl_reparse()
567 X509_CRL *a = sk_X509_CRL_value(crls, i); in test_crl_reparse()
592 sk_X509_CRL_pop_free(crls, X509_CRL_free); in test_crl_reparse()
622 STACK_OF(X509_CRL) *crls = sk_X509_CRL_new_null(); in test_pem_crls()
624 if (!PKCS7_get_PEM_CRLs(crls, bio)) { in test_pem_crls()
629 if (sk_X509_CRL_num(crls) != 1) { in test_pem_crls()
[all …]
Dpkcs7.c152 CBS signed_data, crls; in PKCS7_get_CRLs() local
172 if (!CBS_get_asn1(&signed_data, &crls, in PKCS7_get_CRLs()
179 while (CBS_len(&crls) > 0) { in PKCS7_get_CRLs()
184 if (!CBS_get_asn1_element(&crls, &crl_data, CBS_ASN1_SEQUENCE)) { in PKCS7_get_CRLs()
323 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb()
333 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in pkcs7_bundle_crls_cb()
334 X509_CRL *crl = sk_X509_CRL_value(crls, i); in pkcs7_bundle_crls_cb()
348 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs() argument
349 return pkcs7_bundle(out, pkcs7_bundle_crls_cb, crls); in PKCS7_bundle_CRLs()
Dx509_vfy.c132 X509_CRL *base, STACK_OF(X509_CRL) *crls);
961 STACK_OF(X509_CRL) *crls) in get_crl_sk()
970 for (i = 0; i < sk_X509_CRL_num(crls); i++) in get_crl_sk()
972 crl = sk_X509_CRL_value(crls, i); in get_crl_sk()
999 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls); in get_crl_sk()
1085 X509_CRL *base, STACK_OF(X509_CRL) *crls) in get_delta_sk()
1093 for (i = 0; i < sk_X509_CRL_num(crls); i++) in get_delta_sk()
1095 delta = sk_X509_CRL_value(crls, i); in get_delta_sk()
1259 crl_ctx.crls = ctx->crls; in check_crl_path()
1445 &issuer, &crl_score, &reasons, ctx->crls); in get_crl_delta()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DSignedData.java26 private ASN1Set crls; field in SignedData
56 crls = _crls; in SignedData()
87 crls = ASN1Set.getInstance(tagged, false); in SignedData()
122 return crls; in getCRLs()
158 if (crls != null) in toASN1Primitive()
160 v.add(new DERTaggedObject(false, 1, crls)); in toASN1Primitive()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactory_ImplTest.java264 Collection crls = factory.generateCRLs(bais); in testGenerateCRLs() local
265 assertNotNull("Factory returned null on correct PKCS7 data", crls); in testGenerateCRLs()
267 2, crls.size()); in testGenerateCRLs()
271 for (Iterator i = crls.iterator(); i.hasNext(); ) { in testGenerateCRLs()
342 private void verifyCRLs(Collection crls) throws Exception { in verifyCRLs() argument
345 for (Iterator it = crls.iterator(); it.hasNext(); ) { in verifyCRLs()
454 Collection crls = in testGenerateBase64CRLs() local
456 assertNotNull("Factory returned null on correct data", crls); in testGenerateBase64CRLs()
458 expected_size, crls.size()); in testGenerateBase64CRLs()
459 verifyCRLs(crls); in testGenerateBase64CRLs()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCRLUtil.java81 Set crls = new HashSet(); in findCRLs() local
114 crls.addAll(PKIXCRLStoreSelector.getCRLs(crlSelect, store)); in findCRLs()
128 return crls; in findCRLs()
DCertPathValidatorUtilities.java1131 …Set crls = CRL_UTIL.findCRLs(crlSelect, validityDate, paramsPKIX.getCertStores(), paramsPKIX.getCR… in getCompleteCRLs() local
1133 checkCRLsNotEmpty(crls, cert); in getCompleteCRLs()
1135 return crls; in getCompleteCRLs()
1355 static void checkCRLsNotEmpty(Set crls, Object cert) in checkCRLsNotEmpty() argument
1358 if (crls.isEmpty()) in checkCRLsNotEmpty()
DRFC3280CertPathUtilities.java1782 Set crls = CertPathValidatorUtilities.getCompleteCRLs(dp, cert, currentDate, paramsPKIX); in checkCRL() local
1785 Iterator crl_iter = crls.iterator(); in checkCRL()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSUtils.java104 List crls = new ArrayList(); in getCRLsFromStore() local
116 crls.add(c.toASN1Structure()); in getCRLsFromStore()
130 crls.add(rev); in getCRLsFromStore()
134 return crls; in getCRLsFromStore()
DCMSSignedGenerator.java87 protected List crls = new ArrayList(); field in CMSSignedGenerator
141 crls.add(crl.toASN1Structure()); in addCRL()
154 crls.addAll(CMSUtils.getCRLsFromStore(crlStore)); in addCRLs()
DCMSSignedDataGenerator.java199 if (crls.size() != 0) in generate()
201 certrevlist = CMSUtils.createBerSetFromList(crls); in generate()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactory4Test.java137 Collection crls = fact.generateCRLs(is); in test_generateCRLsLjava_io_InputStream() local
139 + "\" were not parsed correctly", crls != null in test_generateCRLsLjava_io_InputStream()
140 && crls.size() > 0); in test_generateCRLsLjava_io_InputStream()
/external/jetty/src/java/org/eclipse/jetty/util/ssl/
DSslContextFactory.java267 Collection<? extends CRL> crls = loadCRL(_crlPath); in doStart() local
283 CertificateValidator validator = new CertificateValidator(trustStore, crls); in doStart()
292 TrustManager[] trustManagers = getTrustManagers(trustStore,crls); in doStart()
1099 …protected TrustManager[] getTrustManagers(KeyStore trustStore, Collection<? extends CRL> crls) thr… in getTrustManagers() argument
1115 if (crls != null && !crls.isEmpty()) in getTrustManagers()
1117 …pbParams.addCertStore(CertStore.getInstance("Collection",new CollectionCertStoreParameters(crls))); in getTrustManagers()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DCertificateFactory.java323 List crls = new ArrayList(); in engineGenerateCRLs() local
327 crls.add(crl); in engineGenerateCRLs()
330 return crls; in engineGenerateCRLs()
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
DClientCertAuthenticator.java110 Collection<? extends CRL> crls = loadCRL(_crlPath); in validateRequest() local
111 CertificateValidator validator = new CertificateValidator(trustStore, crls); in validateRequest()
/external/jetty/src/java/org/eclipse/jetty/util/security/
DCertificateValidator.java78 public CertificateValidator(KeyStore trustStore, Collection<? extends CRL> crls) in CertificateValidator() argument
86 _crls = crls; in CertificateValidator()
/external/bouncycastle/patches/
Dbcpkix.patch272 - crls.add(new DERTaggedObject(false, 1, new OtherRevocationInfoFormat(otherRevocationInfoFo…
285 - crls.addAll(CMSUtils.getOthersFromStore(otherRevocationInfoFormat, otherRevocationInfos));
298 + // crls.add(new DERTaggedObject(false, 1, new OtherRevocationInfoFormat(otherRevocationInf…
311 + // crls.addAll(CMSUtils.getOthersFromStore(otherRevocationInfoFormat, otherRevocationInfos…
488 crls.add(c.toASN1Structure());
496 - crls.add(new DERTaggedObject(false, 1, infoFormat));
505 + // crls.add(new DERTaggedObject(false, 1, infoFormat));
510 crls.add(rev);
Dbcprov.patch8538 - crls.addAll(store.getMatches(crlSelect));
8550 + // crls.addAll(store.getMatches(crlSelect));
/external/boringssl/src/include/openssl/
Dx509_vfy.h237 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
Dx509.h1175 OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DCertPathReviewerMessages.properties418 # {2} number of crls in the certstores
434 # cannot extract crls
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...