/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 | 128 /* Method to handle CRL access. 129 * In general a CRL could be very large (several Mb) and can consume large 131 * This method allows general CRL operations to be redirected to more 132 * efficient callbacks: for example a CRL entry database. 140 int (*crl_init)(X509_CRL *crl); 141 int (*crl_free)(X509_CRL *crl); 142 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, 144 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/test/java/tests/security/cert/ |
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...] |
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...] |
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...] |
CertStoreSpiTest.java | 31 import java.security.cert.CRL; 81 public boolean match (CRL crl) { 89 public boolean match (Certificate crl) {
|
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...] |
CertStoreSpiTest.java | 26 import java.security.cert.CRL; 89 public boolean match (CRL crl) { 97 public boolean match (Certificate 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...] |
/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) 694 X509_CRL *crl = NULL, *dcrl = NULL; local 826 X509_CRL *crl, *best_crl = NULL; local 1299 X509_CRL *crl = NULL, *dcrl = NULL; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CRLImplTest.java | 84 private static String issuerName = "O=CRL Issuer"; 108 // "If used by conforming CRL issuers, this extension MUST always be 110 // correctly attribute CRL entries to certificates. This specification 139 // CRL Number Extension 190 private static X509CRLImpl crl; field in class:X509CRLImplTest 241 crl = new X509CRLImpl(certificateList); 276 * X509CRLImpl(CertificateList crl) method testing. 293 if (!Arrays.equals(encoding, crl.getEncoded())) { 294 fail("Incorrect encoding of CRL."); 305 assertEquals("Incorrect version value", 2, crl.getVersion()) [all...] |
X509CertFactoryImplTest.java | 25 import java.security.cert.CRL; 108 CRL crl; local 114 crl = certFactory.engineGenerateCRL(bais); 115 assertNotNull("First generated CRL is null", crl); 116 crl = certFactory.engineGenerateCRL(bais); 117 assertNotNull("Second generated CRL is null", crl); 129 crl = certFactory.engineGenerateCRL(bais) [all...] |
/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/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCRLUtil.java | 27 // get complete CRL(s) 50 X509CRL crl = (X509CRL)it.next(); local 52 if (crl.getNextUpdate().after(validityDate)) 58 if (crl.getThisUpdate().before(cert.getNotAfter())) 60 finalSet.add(crl); 65 finalSet.add(crl); 78 // get complete CRL(s) 129 "Exception searching in X.509 CRL store.", e); 144 "Exception searching in X.509 CRL store.", e);
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 195 assertTrue("Any CRL issuers should match in the case of null issuers.", 202 assertTrue("The CRL should match the selection criteria.", 204 assertFalse("The CRL should not match the selection criteria.", 236 assertTrue("Any CRL issuers should match in the case of null issuers.", 248 assertTrue("The CRL should match the selection criteria.", 250 assertFalse("The CRL should not match the selection criteria.", 270 assertTrue("The CRL should match the selection criteria.", 272 assertFalse("The CRL should not match the selection criteria.", 275 assertTrue("The CRL should match the selection criteria.", 297 assertTrue("The CRL should match the selection criteria." 358 TestCRL crl = new TestCRL(minCRL); local 380 TestCRL crl = new TestCRL(maxCRL); local 401 TestCRL crl = new TestCRL(new Date(200), new Date(300)); local 571 TestCRL crl = new TestCRL(iss1); local [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 | 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);
|
/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...] |