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

1 2

  /libcore/luni/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...]
  /external/openssl/apps/
crl2p7.c 94 X509_CRL *crl=NULL; local
167 BIO_printf(bio_err," -nocrl no crl to load, just certs from '-certfile'\n");
196 crl=d2i_X509_CRL_bio(in,NULL);
198 crl=PEM_read_bio_X509_CRL(in,NULL,NULL,NULL);
200 BIO_printf(bio_err,"bad input format specified for input crl\n");
203 if (crl == NULL)
205 BIO_printf(bio_err,"unable to load CRL\n");
219 p7s->crl=crl_stack;
220 if (crl != NULL)
222 sk_X509_CRL_push(crl_stack,crl);
    [all...]
pkcs7.c 172 BIO_printf(bio_err," -print_certs print any certs or crl in the input\n");
256 crls=p7->d.sign->crl;
260 crls=p7->d.signed_and_enveloped->crl;
282 X509_CRL *crl; local
286 crl=sk_X509_CRL_value(crls,i);
288 X509_CRL_print(out, crl);
290 if(!noout)PEM_write_bio_X509_CRL(out,crl);
ca.c 118 #define ENV_CRL "crl"
143 #define REV_CRL_REASON 1 /* Value is CRL reason code */
154 " -gencrl - Generate a new CRL\n",
155 " -crldays days - Days is when the next CRL is due\n",
156 " -crlhours hours - Hours is when the next CRL is due\n",
183 " -crlexts .. - CRL extension section (override value in config file)\n",
303 X509_CRL *crl=NULL; local
    [all...]
  /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/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JDKX509CertificateFactory.java 16 import java.security.cert.CRL;
40 private static final PEMUtil PEM_CRL_PARSER = new PEMUtil("CRL");
107 protected CRL createCRL(CertificateList c)
113 private CRL readPEMCRL(
128 private CRL readDERCRL(
150 private CRL getCRL()
247 * Generates a certificate revocation list (CRL) object and initializes
250 public CRL engineGenerateCRL(
319 * a PKCS#7 CRL set. This is a PKCS#7 SignedData object, with the
327 CRL crl local
    [all...]
CertPathValidatorUtilities.java 398 protected static X500Principal getIssuerPrincipal(X509CRL crl)
400 return crl.getIssuerX500Principal();
421 // crl checking
461 "Exception searching in X.509 CRL store.", e);
476 "Exception searching in X.509 CRL store.", e);
805 // "CRL/LDAP", params, "BC"));
1254 X509CRL crl = (X509CRL)it.next(); local
    [all...]
RFC3280CertPathUtilities.java 64 * If the complete CRL includes an issuing distribution point (IDP) CRL
67 * (i) If the distribution point name is present in the IDP CRL extension
70 * distribution point name is present in the IDP CRL extension and the
76 * (ii) If the onlyContainsUserCerts boolean is asserted in the IDP CRL
81 * (iii) If the onlyContainsCACerts boolean is asserted in the IDP CRL
91 * @param crl The CRL.
97 X509CRL crl)
103 idp = IssuingDistributionPoint.getInstance(CertPathValidatorUtilities.getExtensionValue(crl,
598 X509CRL crl = (X509CRL)it.next(); local
1792 X509CRL crl = (X509CRL)crl_iter.next(); local
    [all...]
  /external/bouncycastle/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/openssl/crypto/x509/
by_dir.c 285 } crl; member in union:__anon5445
306 data.crl.st_crl.crl= &data.crl.st_crl_info;
307 data.crl.st_crl_info.issuer=name;
308 stmp.data.crl= &data.crl.st_crl;
430 /* If a CRL, update the last file suffix added for this */
x509_vfy.c 73 /* CRL score values */
79 /* certificate is within CRL scope */
83 /* CRL times valid */
91 /* If this score or above CRL is probably valid */
95 /* CRL issuer is certificate issuer */
99 /* CRL issuer is on certificate path */
103 /* CRL issuer matches CRL AKID */
107 /* Have a delta CRL with valid times */
123 X509_CRL *crl, X509 *x)
699 X509_CRL *crl = NULL, *dcrl = NULL; local
830 X509_CRL *crl, *best_crl = NULL; local
1303 X509_CRL *crl = NULL, *dcrl = NULL; local
    [all...]
x509_vfy.h 130 X509_CRL *crl; member in union:x509_object_st::__anon5449
200 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
201 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
202 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
249 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
250 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity *
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/
X509CRLImpl.java 65 private final CertificateList crl; field in class:X509CRLImpl
80 // encoded form of crl
85 // indicates whether the crl entries have already been retrieved
86 // from CertificateList object (crl)
89 // indicates whether this X.509 CRL is direct or indirect
92 // if crl is indirect, this field holds an info about how
94 // by the same issuer as CRL.
98 * Creates X.509 CRL by wrapping of the specified CertificateList object.
100 public X509CRLImpl(CertificateList crl) {
101 this.crl = crl
    [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 222 X509_CRL *crl; member in union:STORE_OBJECT_st::__anon5439
  /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
  /external/openssl/include/openssl/
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
x509_vfy.h 130 X509_CRL *crl; member in union:x509_object_st::__anon5482
200 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
201 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity */
202 int (*cert_crl)(X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x); /* Check certificate against CRL */
249 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL */
250 int (*check_crl)(X509_STORE_CTX *ctx, X509_CRL *crl); /* Check CRL validity *
    [all...]

Completed in 531 milliseconds

1 2