Home
last modified time | relevance | path

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

12

/external/nist-pkits/src/libcore/java/security/cert/
DX509CertificateNistPkitsTest.java128 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/
DSignedData.java70 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DSignedData.java72 private ASN1Set crls; field in SignedData
110 ASN1Set crls, in SignedData() argument
113 … this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); in SignedData()
117 this.crls = crls; in SignedData()
119 this.crlsBer = crls instanceof BERSet; in SignedData()
127 ASN1Set crls, in calculateVersion() argument
165 if (crls != null) // no need to check if otherCert is true in calculateVersion()
167 for (Enumeration en = crls.getObjects(); en.hasMoreElements();) in calculateVersion()
250 crls = ASN1Set.getInstance(tagged, false); in SignedData()
285 return crls; in getCRLs()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/
DSignedData.java72 private ASN1Set crls; field in SignedData
110 ASN1Set crls, in SignedData() argument
113 … this.version = calculateVersion(contentInfo.getContentType(), certificates, crls, signerInfos); in SignedData()
117 this.crls = crls; in SignedData()
119 this.crlsBer = crls instanceof BERSet; in SignedData()
127 ASN1Set crls, in calculateVersion() argument
165 if (crls != null) // no need to check if otherCert is true in calculateVersion()
167 for (Enumeration en = crls.getObjects(); en.hasMoreElements();) in calculateVersion()
250 crls = ASN1Set.getInstance(tagged, false); in SignedData()
285 return crls; in getCRLs()
[all …]
/external/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc555 bssl::UniquePtr<STACK_OF(X509_CRL)> crls(sk_X509_CRL_new_null()); in TestCRLReparse() local
556 ASSERT_TRUE(crls); in TestCRLReparse()
564 ASSERT_TRUE(PKCS7_get_CRLs(crls.get(), &pkcs7)); in TestCRLReparse()
569 ASSERT_TRUE(PKCS7_bundle_CRLs(cbb.get(), crls.get())); in TestCRLReparse()
577 ASSERT_EQ(sk_X509_CRL_num(crls.get()), sk_X509_CRL_num(crls.get())); in TestCRLReparse()
578 for (size_t i = 0; i < sk_X509_CRL_num(crls.get()); i++) { in TestCRLReparse()
579 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
599 ASSERT_EQ(sk_X509_CRL_num(crls.get()), sk_X509_CRL_num(crls3)); in TestCRLReparse()
600 for (size_t i = 0; i < sk_X509_CRL_num(crls.get()); i++) { in TestCRLReparse()
601 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
[all …]
Dpkcs7_x509.c66 CBS signed_data, crls; in PKCS7_get_CRLs() local
79 &signed_data, &crls, &has_crls, in PKCS7_get_CRLs()
85 CBS_init(&crls, NULL, 0); in PKCS7_get_CRLs()
88 while (CBS_len(&crls) > 0) { in PKCS7_get_CRLs()
93 if (!CBS_get_asn1_element(&crls, &crl_data, CBS_ASN1_SEQUENCE)) { in PKCS7_get_CRLs()
203 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb()
213 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in pkcs7_bundle_crls_cb()
214 X509_CRL *crl = sk_X509_CRL_value(crls, i); in pkcs7_bundle_crls_cb()
228 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs() argument
229 return pkcs7_bundle(out, pkcs7_bundle_crls_cb, crls); in PKCS7_bundle_CRLs()
/external/rust/crates/quiche/deps/boringssl/src/crypto/pkcs7/
Dpkcs7_test.cc555 bssl::UniquePtr<STACK_OF(X509_CRL)> crls(sk_X509_CRL_new_null()); in TestCRLReparse() local
556 ASSERT_TRUE(crls); in TestCRLReparse()
564 ASSERT_TRUE(PKCS7_get_CRLs(crls.get(), &pkcs7)); in TestCRLReparse()
569 ASSERT_TRUE(PKCS7_bundle_CRLs(cbb.get(), crls.get())); in TestCRLReparse()
577 ASSERT_EQ(sk_X509_CRL_num(crls.get()), sk_X509_CRL_num(crls.get())); in TestCRLReparse()
578 for (size_t i = 0; i < sk_X509_CRL_num(crls.get()); i++) { in TestCRLReparse()
579 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
599 ASSERT_EQ(sk_X509_CRL_num(crls.get()), sk_X509_CRL_num(crls3)); in TestCRLReparse()
600 for (size_t i = 0; i < sk_X509_CRL_num(crls.get()); i++) { in TestCRLReparse()
601 X509_CRL *a = sk_X509_CRL_value(crls.get(), i); in TestCRLReparse()
[all …]
Dpkcs7_x509.c66 CBS signed_data, crls; in PKCS7_get_CRLs() local
79 &signed_data, &crls, &has_crls, in PKCS7_get_CRLs()
85 CBS_init(&crls, NULL, 0); in PKCS7_get_CRLs()
88 while (CBS_len(&crls) > 0) { in PKCS7_get_CRLs()
93 if (!CBS_get_asn1_element(&crls, &crl_data, CBS_ASN1_SEQUENCE)) { in PKCS7_get_CRLs()
203 const STACK_OF(X509_CRL) *crls = arg; in pkcs7_bundle_crls_cb()
213 for (i = 0; i < sk_X509_CRL_num(crls); i++) { in pkcs7_bundle_crls_cb()
214 X509_CRL *crl = sk_X509_CRL_value(crls, i); in pkcs7_bundle_crls_cb()
228 int PKCS7_bundle_CRLs(CBB *out, const STACK_OF(X509_CRL) *crls) { in PKCS7_bundle_CRLs() argument
229 return pkcs7_bundle(out, pkcs7_bundle_crls_cb, crls); in PKCS7_bundle_CRLs()
/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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/
DSignedData.java28 private ASN1Set crls; field in SignedData
58 crls = _crls; in SignedData()
89 crls = ASN1Set.getInstance(tagged, false); in SignedData()
124 return crls; in getCRLs()
160 if (crls != null) in toASN1Primitive()
162 v.add(new DERTaggedObject(false, 1, crls)); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/
DSignedData.java28 private ASN1Set crls; field in SignedData
58 crls = _crls; in SignedData()
89 crls = ASN1Set.getInstance(tagged, false); in SignedData()
124 return crls; in getCRLs()
160 if (crls != null) in toASN1Primitive()
162 v.add(new DERTaggedObject(false, 1, crls)); in toASN1Primitive()
/external/python/cryptography/vectors/cryptography_vectors/x509/PKITS_data/
Dpkits.ldif10 certificateRevocationList;binary:< file:///tmp/crls/TrustAnchorRootCRL.crl
116 certificateRevocationList;binary:< file:///tmp/crls/GoodCACRL.crl
135 certificateRevocationList;binary:< file:///tmp/crls/BadSignedCACRL.crl
155 certificateRevocationList;binary:< file:///tmp/crls/BadnotBeforeDateCACRL.crl
187 certificateRevocationList;binary:< file:///tmp/crls/BadnotAfterDateCACRL.crl
219 certificateRevocationList;binary:< file:///tmp/crls/GoodCACRL.crl
241 certificateRevocationList;binary:< file:///tmp/crls/NameOrderCACRL.crl
257 certificateRevocationList;binary:< file:///tmp/crls/NameOrderCACRL.crl
289 certificateRevocationList;binary:< file:///tmp/crls/UIDCACRL.crl
326 certificateRevocationList;binary:< file:///tmp/crls/RFC3280MandatoryAttributeTypesCACRL.crl
[all …]
DReadMe.txt7 and crls, rather than base64 encoded
8 certs and crls, so if you change the
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/
DPKIXCRLUtil.java67 …private static void findCRLs(HashSet crls, PKIXCRLStoreSelector crlSelect, List crlStores) throws … in findCRLs() argument
81 crls.addAll(store.getMatches(crlSelect)); in findCRLs()
94 crls.addAll(PKIXCRLStoreSelector.getCRLs(crlSelect, store)); in findCRLs()
DRevocationUtilities.java523 Set crls = PKIXCRLUtil.findCRLs(crlSelect, validityDate, certStores, crlStores); in getCompleteCRLs() local
525 checkCRLsNotEmpty(crls, cert); in getCompleteCRLs()
527 return crls; in getCompleteCRLs()
595 static void checkCRLsNotEmpty(Set crls, Object cert) in checkCRLsNotEmpty() argument
598 if (crls.isEmpty()) in checkCRLsNotEmpty()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedGenerator.java90 protected List crls = new ArrayList(); field in CMSSignedGenerator
144 crls.add(crl.toASN1Structure()); in addCRL()
157 crls.addAll(CMSUtils.getCRLsFromStore(crlStore)); in addCRLs()
DCMSUtils.java206 List crls = new ArrayList(); in getCRLsFromStore() local
218 crls.add(c.toASN1Structure()); in getCRLsFromStore()
232 crls.add(rev); in getCRLsFromStore()
236 return crls; in getCRLsFromStore()
DCMSSignedDataGenerator.java199 if (crls.size() != 0) in generate()
201 certrevlist = CMSUtils.createBerSetFromList(crls); in generate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCRLUtil.java70 …private static void findCRLs(HashSet crls, PKIXCRLStoreSelector crlSelect, List crlStores) throws … in findCRLs() argument
104 crls.addAll(PKIXCRLStoreSelector.getCRLs(crlSelect, store)); in findCRLs()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DPKIXCRLUtil.java71 …private static void findCRLs(HashSet crls, PKIXCRLStoreSelector crlSelect, List crlStores) throws … in findCRLs() argument
105 crls.addAll(PKIXCRLStoreSelector.getCRLs(crlSelect, store)); in findCRLs()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DPKIXCRLUtil.java71 …private static void findCRLs(HashSet crls, PKIXCRLStoreSelector crlSelect, List crlStores) throws … in findCRLs() argument
105 crls.addAll(PKIXCRLStoreSelector.getCRLs(crlSelect, store)); in findCRLs()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DCertificateFactory.java387 List crls = new ArrayList(); in engineGenerateCRLs() local
392 crls.add(crl); in engineGenerateCRLs()
395 return crls; in engineGenerateCRLs()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/
DCertificateFactory.java387 List crls = new ArrayList(); in engineGenerateCRLs() local
392 crls.add(crl); in engineGenerateCRLs()
395 return crls; in engineGenerateCRLs()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DCertificateFactory.java385 List crls = new ArrayList(); in engineGenerateCRLs() local
390 crls.add(crl); in engineGenerateCRLs()
393 return crls; in engineGenerateCRLs()
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java916 Collection<? extends CRL> crls = cf.generateCRLs(new ByteArrayInputStream(valid)); in test_generateCrl() local
917 assertEquals(1, crls.size()); in test_generateCrl()
918 assertEquals(c, crls.iterator().next()); in test_generateCrl()
921 crls = cf.generateCRLs(new ByteArrayInputStream(valid)); in test_generateCrl()
922 assertEquals(1, crls.size()); in test_generateCrl()
923 assertEquals(c, crls.iterator().next()); in test_generateCrl()

12