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

1 2 3

  /external/openssl/crypto/asn1/
x_crl.c 68 static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
76 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r);
77 static int def_crl_lookup(X509_CRL *crl,
122 /* Set CRL entry issuer according to CRL certificate issuer extension.
123 * Check for unhandled critical CRL entry extensions.
126 static int crl_set_issuers(X509_CRL *crl)
133 revoked = X509_CRL_get_REVOKED(crl);
147 crl->flags |= EXFLAG_INVALID;
154 if (!crl->issuers
    [all...]
asn1_locl.h 117 /* Method to handle CRL access.
118 * In general a CRL could be very large (several Mb) and can consume large
120 * This method allows general CRL operations to be redirected to more
121 * efficient callbacks: for example a CRL entry database.
129 int (*crl_init)(X509_CRL *crl);
130 int (*crl_free)(X509_CRL *crl);
131 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret,
133 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk);
x_info.c 82 ret->crl=NULL;
107 if (x->crl != NULL) X509_CRL_free(x->crl);
  /libcore/luni/src/main/java/java/security/cert/
CRLSelector.java 21 * The interface specification for determining whether a CRL meets some criteria
22 * to select CRL objects among a set of {@code CRL}s.
25 * criteria for selecting {@code CRL}s from a {@code CertStore}.
28 * @see CRL
41 * CRL.
43 * @param crl
44 * the CRL to be evaluated.
45 * @return {@code true} if the CRL matches the criteria, {@code false}
48 public boolean match(CRL crl)
    [all...]
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...]
  /libcore/luni/src/test/java/tests/security/cert/
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...]
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...]
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...]
CertStoreSpiTest.java 36 import java.security.cert.CRL;
107 public boolean match (CRL crl) {
115 public boolean match (Certificate crl) {
X509CRL2Test.java 149 MyX509CRL crl = new MyX509CRL(); local
150 assertNotNull(crl);
151 assertTrue(crl instanceof X509CRL);
  /external/openssl/crypto/x509/
x509cset.c 69 if (x->crl->version == NULL)
71 if ((x->crl->version=M_ASN1_INTEGER_new()) == NULL)
74 return(ASN1_INTEGER_set(x->crl->version,version));
79 if ((x == NULL) || (x->crl == NULL)) return(0);
80 return(X509_NAME_set(&x->crl->issuer,name));
89 in=x->crl->lastUpdate;
95 M_ASN1_TIME_free(x->crl->lastUpdate);
96 x->crl->lastUpdate=in;
107 in=x->crl->nextUpdate;
113 M_ASN1_TIME_free(x->crl->nextUpdate)
    [all...]
x509_ext.c 71 return(X509v3_get_ext_count(x->crl->extensions));
76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos));
81 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos));
86 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos));
91 return(X509v3_get_ext(x->crl->extensions,loc));
96 return(X509v3_delete_ext(x->crl->extensions,loc));
101 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx);
107 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags);
112 return(X509v3_add_ext(&(x->crl->extensions),ex,loc) != NULL);
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...]
by_dir.c 285 } crl; member in union:__anon5604
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 */
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/
PrincipalUtil.java 58 * return the issuer of the given CRL as an X509PrincipalObject.
61 X509CRL crl)
67 ASN1Object.fromByteArray(crl.getTBSCertList()));
  /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);
openssl-vms.cnf 44 crl_dir = $dir.crl] # Where the issued crl are kept
52 crlnumber = $dir]crlnumber. # the current crl number
53 # must be commented out to leave a V1 CRL
54 crl = $dir]crl.pem # The current CRL
68 # Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
69 # so this is commented out by default to leave a V1 CRL.
70 # crlnumber must also be commented out to leave a V1 CRL
    [all...]
openssl.cnf 44 crl_dir = $dir/crl # Where the issued crl are kept
52 crlnumber = $dir/crlnumber # the current crl number
53 # must be commented out to leave a V1 CRL
54 crl = $dir/crl.pem # The current CRL
68 # Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
69 # so this is commented out by default to leave a V1 CRL.
70 # crlnumber must also be commented out to leave a V1 CRL
    [all...]
Android.mk 12 crl.c \
  /external/openssl/android.testssl/
CAss.cnf 36 crl_dir = $dir/crl # Where the issued crl are kept
44 crl = $dir/crl.pem # The current CRL
54 default_crl_days= 30 # how long before next CRL
  /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/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/x509v3/
v3_conf.c 344 /* Convenience functions to add extensions to a certificate, CRL and request */
355 /* Same as above but for a CRL */
358 X509_CRL *crl)
361 if (crl)
362 sk = &crl->crl->extensions;
447 X509_CRL *crl, int flags)
451 ctx->crl = crl;
507 /* Same as above but for a CRL */
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
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...]

Completed in 204 milliseconds

1 2 3