/external/nist-pkits/src/libcore/java/security/cert/ |
D | X509CertificateNistPkitsTest.java | 128 X509CRL[] crls = new X509CRL[names.length]; in getCRLs() local 131 crls[i] = getCRL(f, names[i]); in getCRLs() 134 return crls; in getCRLs() 145 X509CRL[] crls = getCRLs(f, pathCRLs); in getTestPathParams() local 149 certCollection.addAll(Arrays.asList(crls)); in getTestPathParams() 170 private void assertInvalidPath(String trustAnchor, String[] certs, String[] crls) in assertInvalidPath() argument 172 assertInvalidPath(trustAnchor, certs, certs, crls); in assertInvalidPath() 176 String[] crls) throws Exception, NoSuchAlgorithmException, in assertInvalidPath() argument 180 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls); in assertInvalidPath() 192 private void assertValidPath(String trustAnchor, String[] certs, String[] crls) in assertValidPath() argument [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | SignedData.java | 70 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/pkcs7/ |
D | pkcs7_test.cc | 510 bssl::UniquePtr<STACK_OF(X509_CRL)> crls(sk_X509_CRL_new_null()); in TestCRLReparse() local 511 ASSERT_TRUE(crls); in TestCRLReparse() 519 ASSERT_TRUE(PKCS7_get_CRLs(crls.get(), &pkcs7)); in TestCRLReparse() 523 ASSERT_TRUE(PKCS7_bundle_CRLs(cbb.get(), crls.get())); in TestCRLReparse() 530 ASSERT_EQ(sk_X509_CRL_num(crls.get()), sk_X509_CRL_num(crls.get())); in TestCRLReparse() 532 for (size_t i = 0; i < sk_X509_CRL_num(crls.get()); i++) { in TestCRLReparse() 533 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse() 559 bssl::UniquePtr<STACK_OF(X509_CRL)> crls(sk_X509_CRL_new_null()); in TestPEMCRLs() local 561 ASSERT_TRUE(PKCS7_get_PEM_CRLs(crls.get(), bio.get())); in TestPEMCRLs() 562 ASSERT_EQ(1u, sk_X509_CRL_num(crls.get())); in TestPEMCRLs()
|
D | pkcs7_x509.c | 65 CBS signed_data, crls; in PKCS7_get_CRLs() local 85 if (!CBS_get_asn1(&signed_data, &crls, in PKCS7_get_CRLs() 91 while (CBS_len(&crls) > 0) { in PKCS7_get_CRLs() 96 if (!CBS_get_asn1_element(&crls, &crl_data, CBS_ASN1_SEQUENCE)) { in PKCS7_get_CRLs() 206 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb() 216 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in pkcs7_bundle_crls_cb() 217 X509_CRL *crl = sk_X509_CRL_value(crls, i); in pkcs7_bundle_crls_cb() 231 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs() argument 232 return pkcs7_bundle(out, pkcs7_bundle_crls_cb, crls); in PKCS7_bundle_CRLs()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | SignedData.java | 26 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | PKIXCRLUtil.java | 81 Set crls = new HashSet(); in findCRLs() local 116 crls.addAll(PKIXCRLStoreSelector.getCRLs(crlSelect, store)); in findCRLs() 130 return crls; in findCRLs()
|
D | CertPathValidatorUtilities.java | 1118 …Set crls = CRL_UTIL.findCRLs(crlSelect, validityDate, paramsPKIX.getCertStores(), paramsPKIX.getCR… in getCompleteCRLs() local 1120 checkCRLsNotEmpty(crls, cert); in getCompleteCRLs() 1122 return crls; in getCompleteCRLs() 1342 static void checkCRLsNotEmpty(Set crls, Object cert) in checkCRLsNotEmpty() argument 1345 if (crls.isEmpty()) in checkCRLsNotEmpty()
|
D | RFC3280CertPathUtilities.java | 1782 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/ |
D | CMSUtils.java | 152 List crls = new ArrayList(); in getCRLsFromStore() local 164 crls.add(c.toASN1Structure()); in getCRLsFromStore() 178 crls.add(rev); in getCRLsFromStore() 182 return crls; in getCRLsFromStore()
|
D | CMSSignedGenerator.java | 86 protected List crls = new ArrayList(); field in CMSSignedGenerator 140 crls.add(crl.toASN1Structure()); in addCRL() 153 crls.addAll(CMSUtils.getCRLsFromStore(crlStore)); in addCRLs()
|
D | CMSSignedDataGenerator.java | 199 if (crls.size() != 0) in generate() 201 certrevlist = CMSUtils.createBerSetFromList(crls); in generate()
|
/external/boringssl/src/crypto/x509/ |
D | x509_test.cc | 471 const std::vector<X509_CRL *> &crls) { in CRLsToStack() argument 476 for (auto crl : crls) { in CRLsToStack() 488 const std::vector<X509_CRL *> &crls, in Verify() argument 494 bssl::UniquePtr<STACK_OF(X509_CRL)> crls_stack(CRLsToStack(crls)); in Verify() 544 const std::vector<X509_CRL *> &crls, in Verify() argument 546 const int r1 = Verify(leaf, roots, intermediates, crls, flags, false); in Verify() 547 const int r2 = Verify(leaf, roots, intermediates, crls, flags, true); in Verify()
|
D | x509_vfy.c | 131 STACK_OF(X509_CRL) *crls); 1006 STACK_OF(X509_CRL) *crls) in get_crl_sk() 1015 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_crl_sk() 1016 crl = sk_X509_CRL_value(crls, i); in get_crl_sk() 1052 get_delta_sk(ctx, pdcrl, pscore, best_crl, crls); in get_crl_sk() 1134 X509_CRL *base, STACK_OF(X509_CRL) *crls) in get_delta_sk() 1142 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in get_delta_sk() 1143 delta = sk_X509_CRL_value(crls, i); in get_delta_sk() 1306 crl_ctx.crls = ctx->crls; in check_crl_path() 1478 &issuer, &crl_score, &reasons, ctx->crls); in get_crl_delta() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | CertificateFactory.java | 385 List crls = new ArrayList(); in engineGenerateCRLs() local 390 crls.add(crl); in engineGenerateCRLs() 393 return crls; in engineGenerateCRLs()
|
/external/boringssl/src/include/openssl/ |
D | pkcs7.h | 58 OPENSSL_EXPORT int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls);
|
D | x509_vfy.h | 219 STACK_OF(X509_CRL) *crls; /* set of CRLs passed in */
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | CertPathReviewerMessages.properties | 418 # {2} number of crls in the certstores 434 # cannot extract crls
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 601 crls = ssl.enum_crls("CA") 602 self.assertIsInstance(crls, list) 603 for element in crls:
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 699 crls = ssl.enum_crls("CA") 700 self.assertIsInstance(crls, list) 701 for element in crls:
|