/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...] |