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

1 2

  /dalvik/libcore/security/src/test/java/tests/security/cert/
X509CRLTest.java 253 assertFalse("The CRL should not be equals to the object which is not "
288 TBTCRL crl = new TBTCRL() { local
294 assertEquals(new X500Principal("CN=Z"), crl.getIssuerX500Principal());
415 TBTCRL crl = new TBTCRL() { local
422 crl.getEncoded();
423 crl.getIssuerDN();
424 crl.getNextUpdate();
425 crl.getRevokedCertificate(BigInteger.ONE);
426 crl.getRevokedCertificates();
427 crl.getSigAlgName()
450 TBTCRL crl = new TBTCRL(); local
    [all...]
CRLTest.java 32 import java.security.cert.CRL;
38 * Tests for <code>java.security.cert.CRL</code> fields and methods
41 @TestTargetClass(CRL.class)
53 * Test for <code>CRL(String type)</code> constructor<br>
58 method = "CRL",
63 CRL crl = new MyCRL(validValues[i]); local
64 assertEquals(validValues[i], crl.getType());
68 CRL crl = new MyCRL(invalidValues[i]) local
73 CRL crl = new MyCRL(null); local
91 CRL crl = new MyCRL("TEST_TYPE"); local
106 CRL crl = new MyCRL(null); local
126 CRL crl = new MyCRL("TEST_TYPE"); local
140 CRL crl = new MyCRL("TEST_TYPE"); local
    [all...]
CertificateFactory4Test.java 37 import java.security.cert.CRL;
54 private static final String[] CRL_URLS = new String[] { "Bug93893-1.crl",
55 "Bug93893-2.crl", "Bug94404-DER.crl" };
57 private static final String[] CRLCOLLECTION_URLS = new String[] { "Bug94404-PKCS7.crl" };
140 CRL crl = fact.generateCRL(is); local
141 assertNotNull("The CRL in \"" + certUrl.toExternalForm()
142 + "\" were not parsed correctly", crl);
167 Collection<? extends CRL> crls = fact.generateCRLs(is)
    [all...]
CertificateFactorySpiTest.java 38 import java.security.cert.CRL;
105 CRL ccCRL = certFactorySpi.engineGenerateCRL(bais);
106 assertNull("Not null CRL", ccCRL);
113 Collection<? extends CRL> colCRL = certFactorySpi.engineGenerateCRLs(bais);
114 assertNull("Not null CRL", colCRL);
191 CRL crl = certFactorySpi.engineGenerateCRL(dis); local
192 assertNull("Result must be null", crl);
193 Collection<? extends CRL> colcrl = certFactorySpi.engineGenerateCRLs(dis);
267 CRL crl = certFactorySpi.engineGenerateCRL(dis) local
    [all...]
X509CRLSelector2Test.java 24 import java.security.cert.CRL;
85 args={java.security.cert.CRL.class}
92 CRL crl1 = new TestCRL(iss1);
93 CRL crl2 = new TestCRL(iss2);
96 assertTrue("The CRL should match the selection criteria.", selector
98 assertFalse("The CRL should not match the selection criteria.",
101 assertTrue("The CRL should match the selection criteria.", selector
129 assertTrue("The CRL should match the selection criteria.", selector
131 assertFalse("The CRL should not match the selection criteria.",
139 assertTrue("The CRL should match the selection criteria.", selecto
298 CRL crl = new TestCRL(minCRL); local
328 TestCRL crl = new TestCRL(maxCRL); local
354 TestCRL crl = new TestCRL(new Date(200), new Date(300)); local
393 TestCRL crl = new TestCRL(); local
600 TestCRL crl = new TestCRL(iss1); local
    [all...]
CertificateFactory2Test.java 39 import java.security.cert.CRL;
152 CRL crl = certFactory.generateCRL(dis); local
153 assertNull("Result must be null", crl);
154 Collection<? extends CRL> colc = certFactory.generateCRLs(dis);
X509CRL2Test.java 149 MyX509CRL crl = new MyX509CRL(); local
150 assertNotNull(crl);
151 assertTrue(crl instanceof X509CRL);
CertificateFactory1Test.java 43 import java.security.cert.CRL;
476 assertTrue("Not empty CRL collection was returned from null stream", colCrl.isEmpty());
491 assertTrue("Not empty CRL collection was returned from empty stream", colCrl.isEmpty());
549 CRL crl; local
571 crl = certFs[i].generateCRL(is);
572 assertNull("Not null CRL was created", crl);
579 assertTrue("Not empty CRL Collection was created", colCrl.isEmpty());
    [all...]
  /dalvik/libcore/security/src/main/java/java/security/cert/
X509CRL.java 28 import java.security.cert.CRL;
40 * Abstract base class for X.509 certificate revocation lists (CRL).
42 * More information regarding CRL can be found in RFC 2459,
43 * "Internet X.509 Public Key Infrastructure Certificate and CRL Profile" at <a
48 public abstract class X509CRL extends CRL implements X509Extension {
81 * Returns the hashcode of this CRL instance.
99 * Returns this CRL in ASN.1 DER encoded form.
101 * @return this CRL in ASN.1 DER encoded form.
109 * Verifies this CRL by verifying that this CRL was signed with th
182 X509CRL crl = (X509CRL) factory local
    [all...]
  /external/openssl/apps/
crl2p7.c 95 X509_CRL *crl=NULL; local
168 BIO_printf(bio_err," -nocrl no crl to load, just certs from '-certfile'\n");
197 crl=d2i_X509_CRL_bio(in,NULL);
199 crl=PEM_read_bio_X509_CRL(in,NULL,NULL,NULL);
201 BIO_printf(bio_err,"bad input format specified for input crl\n");
204 if (crl == NULL)
206 BIO_printf(bio_err,"unable to load CRL\n");
220 p7s->crl=crl_stack;
221 if (crl != NULL)
223 sk_X509_CRL_push(crl_stack,crl);
    [all...]
pkcs7.c 170 BIO_printf(bio_err," -print_certs print any certs or crl in the input\n");
251 crls=p7->d.sign->crl;
255 crls=p7->d.signed_and_enveloped->crl;
277 X509_CRL *crl; local
281 crl=sk_X509_CRL_value(crls,i);
283 X509_CRL_print(out, crl);
285 if(!noout)PEM_write_bio_X509_CRL(out,crl);
ca.c 119 #define ENV_CRL "crl"
144 #define REV_CRL_REASON 1 /* Value is CRL reason code */
155 " -gencrl - Generate a new CRL\n",
156 " -crldays days - Days is when the next CRL is due\n",
157 " -crlhours hours - Hours is when the next CRL is due\n",
184 " -crlexts .. - CRL extension section (override value in config file)\n",
303 X509_CRL *crl=NULL; local
    [all...]
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/
X509CRLImpl.java 68 private final CertificateList crl; field in class:X509CRLImpl
83 // encoded form of crl
88 // indicates whether the crl entries have already been retrieved
89 // from CertificateList object (crl)
92 // indicates whether this X.509 CRL is direct or indirect
95 // if crl is indirect, this field holds an info about how
97 // by the same issuer as CRL.
101 * Creates X.509 CRL by wrapping of the specified CertificateList object.
103 public X509CRLImpl(CertificateList crl) {
104 this.crl = crl
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
JDKX509CertificateFactory.java 7 import java.security.cert.CRL;
177 private CRL readDERCRL(
184 private CRL readPEMCRL(
193 if (line.equals("-----BEGIN CRL-----")
194 || line.equals("-----BEGIN X509 CRL-----"))
202 if (line.equals("-----END CRL-----")
203 || line.equals("-----END X509 CRL-----"))
219 private CRL readPKCS7CRL(
340 * Generates a certificate revocation list (CRL) object and initializes
343 public CRL engineGenerateCRL
425 CRL crl; local
    [all...]
PKIXCertPathValidatorSpi.java 1330 X509CRL crl = (X509CRL)crl_iter.next(); local
    [all...]
  /external/openssl/crypto/x509/
by_dir.c 257 } crl; member in union:__anon3987
279 data.crl.st_crl.crl= &data.crl.st_crl_info;
280 data.crl.st_crl_info.issuer=name;
281 stmp.data.crl= &data.crl.st_crl;
x509_vfy.c 302 * because they may be needed for CRL signature verification.
316 /* RFC 3779 path validation, now that CRL check has been done */
585 X509_CRL *crl = NULL; local
591 /* Try to retrieve relevant CRL */
592 ok = ctx->get_crl(ctx, &crl, x);
593 /* If error looking up CRL, nothing we can do except
602 ctx->current_crl = crl;
603 ok = ctx->check_crl(ctx, crl);
605 ok = ctx->cert_crl(ctx, crl, x);
608 X509_CRL_free(crl);
675 X509_CRL *crl, *best_crl = NULL; local
704 X509_CRL *crl = NULL; local
    [all...]
x509_vfy.h 128 X509_CRL *crl; member in union:x509_object_st::__anon3991
198 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
199 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
200 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
245 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
246 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity *
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
PKIXCertPathReviewer.java 864 // read crl distribution points extension
899 // add notifications with the crl distribution points
901 // output crl distribution points
1994 X509CRL crl = null; local
    [all...]
  /external/openssl/crypto/store/
str_lib.c 73 "X.509 CRL",
858 X509_CRL *crl; local
865 if (!object || !object->data.crl)
871 CRYPTO_add(&object->data.crl->references,1,CRYPTO_LOCK_X509_CRL);
875 crl = object->data.crl;
877 return crl;
884 X509_CRL *crl; local
891 if (!object || !object->data.crl)
897 CRYPTO_add(&object->data.crl->references,1,CRYPTO_LOCK_X509_CRL)
999 X509_CRL *crl; local
    [all...]
store.h 216 X509_CRL *crl; member in union:STORE_OBJECT_st::__anon3981
  /external/openssl/include/openssl/
x509_vfy.h 128 X509_CRL *crl; member in union:x509_object_st::__anon4027
198 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
199 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
200 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
245 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
246 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity *
    [all...]
pkcs7.h 126 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ member in struct:pkcs7_signed_st
154 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ member in struct:pkcs7_signedandenveloped_st
store.h 216 X509_CRL *crl; member in union:STORE_OBJECT_st::__anon4024
  /external/openssl/crypto/pkcs7/
pkcs7.h 126 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ member in struct:pkcs7_signed_st
154 STACK_OF(X509_CRL) *crl; /* [ 1 ] */ member in struct:pkcs7_signedandenveloped_st

Completed in 349 milliseconds

1 2