HomeSort by relevance Sort by last modified time
    Searched defs:crl (Results 1 - 25 of 70) sorted by null

1 2 3

  /libcore/luni/src/test/java/tests/security/cert/
X509CRLTest.java 236 assertFalse("The CRL should not be equals to the object which is not "
259 TBTCRL crl = new TBTCRL() { local
265 assertEquals(new X500Principal("CN=Z"), crl.getIssuerX500Principal());
294 TBTCRL crl = new TBTCRL() { local
301 crl.getEncoded();
302 crl.getIssuerDN();
303 crl.getNextUpdate();
304 crl.getRevokedCertificate(BigInteger.ONE);
305 crl.getRevokedCertificates();
306 crl.getSigAlgName()
323 TBTCRL crl = new TBTCRL(); local
    [all...]
CRLTest.java 27 import java.security.cert.CRL;
33 * Tests for <code>java.security.cert.CRL</code> fields and methods
47 * Test for <code>CRL(String type)</code> constructor<br>
51 CRL crl = new MyCRL(validValues[i]); local
52 assertEquals(validValues[i], crl.getType());
56 CRL crl = new MyCRL(invalidValues[i]); local
57 assertEquals(invalidValues[i], crl.getType());
61 CRL crl = new MyCRL(null) local
73 CRL crl = new MyCRL("TEST_TYPE"); local
82 CRL crl = new MyCRL(null); local
96 CRL crl = new MyCRL("TEST_TYPE"); local
104 CRL crl = new MyCRL("TEST_TYPE"); local
    [all...]
CertificateFactory4Test.java 33 import java.security.cert.CRL;
49 private static final String[] CRL_URLS = new String[] { "Bug93893-1.crl",
50 "Bug93893-2.crl", "Bug94404-DER.crl" };
52 private static final String[] CRLCOLLECTION_URLS = new String[] { "Bug94404-PKCS7.crl" };
117 CRL crl = fact.generateCRL(is); local
118 assertNotNull("The CRL in \"" + certUrl.toExternalForm()
119 + "\" were not parsed correctly", crl);
138 Collection<? extends CRL> crls = fact.generateCRLs(is)
    [all...]
CertificateFactorySpiTest.java 33 import java.security.cert.CRL;
93 CRL ccCRL = certFactorySpi.engineGenerateCRL(bais);
94 assertNull("Not null CRL", ccCRL);
101 Collection<? extends CRL> colCRL = certFactorySpi.engineGenerateCRLs(bais);
102 assertNull("Not null CRL", colCRL);
165 CRL crl = certFactorySpi.engineGenerateCRL(dis); local
166 assertNull("Result must be null", crl);
167 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis);
235 CRL crl = certFactorySpi.engineGenerateCRL(dis) local
    [all...]
X509CRLSelector2Test.java 20 import java.security.cert.CRL;
69 CRL crl1 = new TestCRL(iss1);
70 CRL crl2 = new TestCRL(iss2);
73 assertTrue("The CRL should match the selection criteria.", selector
75 assertFalse("The CRL should not match the selection criteria.",
78 assertTrue("The CRL should match the selection criteria.", selector
100 assertTrue("The CRL should match the selection criteria.", selector
102 assertFalse("The CRL should not match the selection criteria.",
110 assertTrue("The CRL should match the selection criteria.", selector
141 assertTrue("Any CRL issuers should match in the case of null issuers."
245 CRL crl = new TestCRL(minCRL); local
269 TestCRL crl = new TestCRL(maxCRL); local
289 TestCRL crl = new TestCRL(new Date(200), new Date(300)); local
322 TestCRL crl = new TestCRL(); local
481 TestCRL crl = new TestCRL(iss1); local
    [all...]
CertificateFactory2Test.java 35 import java.security.cert.CRL;
147 CRL crl = certFactory.generateCRL(dis); local
148 assertNull("Result must be null", crl);
149 Collection<? extends CRL> colc = certFactory.generateCRLs(dis);
X509CRL2Test.java 111 MyX509CRL crl = new MyX509CRL(); local
112 assertNotNull(crl);
113 assertTrue(crl instanceof X509CRL);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CRLTest.java 24 import java.security.cert.CRL;
31 * Tests for <code>java.security.cert.CRL</code> fields and methods
50 * Assertion: returns <code>CRL</code> type
53 CRL crl = new MyCRL("TEST_TYPE"); local
54 assertEquals("TEST_TYPE", crl.getType());
59 * Assertion: returns <code>CRL</code> type
62 CRL crl = new MyCRL(null); local
63 assertNull(crl.getType())
76 CRL crl = new MyCRL("TEST_TYPE"); local
84 CRL crl = new MyCRL("TEST_TYPE"); local
    [all...]
CertificateFactorySpiTest.java 28 import java.security.cert.CRL;
101 CRL ccCRL = certFactorySpi.engineGenerateCRL(bais);
102 assertNull("Not null CRL", ccCRL);
111 assertNull("Not null CRL", colCRL);
174 CRL crl = certFactorySpi.engineGenerateCRL(dis); local
175 assertNull("Result must be null", crl);
244 CRL crl = certFactorySpi.engineGenerateCRL(dis); local
245 assertNull("Result must be null", crl);
    [all...]
CertificateFactory2Test.java 29 import java.security.cert.CRL;
156 CRL crl = certFactory.generateCRL(dis); local
157 assertNull("Result must be null", crl);
CertificateFactory4Test.java 27 import java.security.cert.CRL;
46 private static final String[] CRL_URLS = new String[] { "Bug93893-1.crl",
47 "Bug93893-2.crl", "Bug94404-DER.crl" };
49 private static final String[] CRLCOLLECTION_URLS = new String[] { "Bug94404-PKCS7.crl" };
116 CRL crl = fact.generateCRL(is); local
117 assertNotNull("The CRL in \"" + certUrl.toExternalForm()
118 + "\" were not parsed correctly", crl);
    [all...]
X509CRLTest.java 206 assertFalse("The CRL should not be equals to the object which is not "
229 TBTCRL crl = new TBTCRL() { local
237 assertEquals(new X500Principal("CN=Z"), crl.getIssuerX500Principal());
CertificateFactory1Test.java 31 import java.security.cert.CRL;
403 assertTrue("Not empty CRL collection was returned from null stream", colCrl.isEmpty());
418 assertTrue("Not empty CRL collection was returned from empty stream", colCrl.isEmpty());
451 CRL crl; local
473 crl = certFs[i].generateCRL(is);
474 assertNull("Not null CRL was created", crl);
481 assertTrue("Not empty CRL Collection was created", colCrl.isEmpty());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
PKIXCRLUtil.java 29 // get complete CRL(s)
52 X509CRL crl = (X509CRL)it.next(); local
54 if (crl.getNextUpdate().after(validityDate))
60 if (crl.getThisUpdate().before(cert.getNotAfter()))
62 finalSet.add(crl);
67 finalSet.add(crl);
80 // get complete CRL(s)
132 // "Exception searching in X.509 CRL store.", e);
148 "Exception searching in X.509 CRL store.", e);
  /external/openssl/apps/
crl2p7.c 94 X509_CRL *crl=NULL; local
173 BIO_printf(bio_err," -nocrl no crl to load, just certs from '-certfile'\n");
202 crl=d2i_X509_CRL_bio(in,NULL);
204 crl=PEM_read_bio_X509_CRL(in,NULL,NULL,NULL);
206 BIO_printf(bio_err,"bad input format specified for input crl\n");
209 if (crl == NULL)
211 BIO_printf(bio_err,"unable to load CRL\n");
225 p7s->crl=crl_stack;
226 if (crl != NULL)
228 sk_X509_CRL_push(crl_stack,crl);
    [all...]
pkcs7.c 169 BIO_printf(bio_err," -print_certs print any certs or crl in the input\n");
253 crls=p7->d.sign->crl;
257 crls=p7->d.signed_and_enveloped->crl;
279 X509_CRL *crl; local
283 crl=sk_X509_CRL_value(crls,i);
285 X509_CRL_print(out, crl);
287 if(!noout)PEM_write_bio_X509_CRL(out,crl);
  /libcore/luni/src/main/java/java/security/cert/
X509CRL.java 34 * Abstract base class for X.509 certificate revocation lists (CRL).
36 * More information regarding CRL can be found in RFC 2459,
37 * "Internet X.509 Public Key Infrastructure Certificate and CRL Profile" at <a
42 public abstract class X509CRL extends CRL implements X509Extension {
75 * Returns the hashcode of this CRL instance.
93 * Returns this CRL in ASN.1 DER encoded form.
95 * @return this CRL in ASN.1 DER encoded form.
103 * Verifies this CRL by verifying that this CRL was signed with the
107 * the public key to verify this CRL with
176 X509CRL crl = (X509CRL) factory local
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
CertificateListTest.java 90 // "If used by conforming CRL issuers, this extension MUST always be
92 // correctly attribute CRL entries to certificates. This specification
128 new Extension("2.5.29.20", // CRL Number Extension (rfc 3280)
216 X509CRL crl = (X509CRL) local
219 Set rcerts = crl.getRevokedCertificates();
226 System.out.println(">> " + crl.getRevokedCertificate(
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
X509CRLSelectorTest.java 193 assertTrue("Any CRL issuers should match in the case of null issuers.",
200 assertTrue("The CRL should match the selection criteria.",
202 assertFalse("The CRL should not match the selection criteria.",
234 assertTrue("Any CRL issuers should match in the case of null issuers.",
246 assertTrue("The CRL should match the selection criteria.",
248 assertFalse("The CRL should not match the selection criteria.",
268 assertTrue("The CRL should match the selection criteria.",
270 assertFalse("The CRL should not match the selection criteria.",
273 assertTrue("The CRL should match the selection criteria.",
295 assertTrue("The CRL should match the selection criteria."
356 TestCRL crl = new TestCRL(minCRL); local
378 TestCRL crl = new TestCRL(maxCRL); local
399 TestCRL crl = new TestCRL(new Date(200), new Date(300)); local
569 TestCRL crl = new TestCRL(iss1); local
    [all...]
X509CertificateTest.java 67 // Base64 encoded form of ASN.1 DER encoded X.509 CRL
273 X509CRL crl = (X509CRL) certFactory.generateCRL(is); local
274 crl.getExtensionValue("1.1.1.1");
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSSignedGenerator.java 135 * Add a CRL to the CRL set to be included with the generated SignedData message.
137 * @param crl the CRL to be included.
139 public void addCRL(X509CRLHolder crl)
141 crls.add(crl.toASN1Structure());
145 * Add the CRLs in crlStore to the CRL set to be included with the generated SignedData message.
185 // * Add a single instance of otherRevocationData to the CRL set to be included with the generated SignedData message.
198 // * Add a Store of otherRevocationData to the CRL set to be included with the generated SignedData message.
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
CertificateFactory.java 6 import java.security.cert.CRL;
39 private static final PEMUtil PEM_CRL_PARSER = new PEMUtil("CRL");
106 protected CRL createCRL(CertificateList c)
112 private CRL readPEMCRL(
127 private CRL readDERCRL(
149 private CRL getCRL()
244 * Generates a certificate revocation list (CRL) object and initializes
247 public CRL engineGenerateCRL(
314 * a PKCS#7 CRL set. This is a PKCS#7 SignedData object, with the
322 CRL crl local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509CRLStoreSelector.java 11 import java.security.cert.CRL;
98 X509CRL crl = (X509CRL)obj; local
102 byte[] bytes = crl
141 byte[] idp = crl
163 public boolean match(CRL crl)
165 return match((Object)crl);
169 * Returns if this selector must match CRLs with the delta CRL indicator
172 * @return Returns <code>true</code> if only CRLs with the delta CRL
181 * If this is set to <code>true</code> the CRL reported contains the delt
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/x509/
by_dir.c 275 } crl; member in union:__anon16280
298 data.crl.st_crl.crl= &data.crl.st_crl_info;
299 data.crl.st_crl_info.issuer=name;
300 stmp.data.crl= &data.crl.st_crl;
426 /* If a CRL, update the last file suffix added for this */
  /external/openssl/crypto/x509/
by_dir.c 283 } crl; member in union:__anon32969
304 data.crl.st_crl.crl= &data.crl.st_crl_info;
305 data.crl.st_crl_info.issuer=name;
306 stmp.data.crl= &data.crl.st_crl;
428 /* If a CRL, update the last file suffix added for this */

Completed in 330 milliseconds

1 2 3