/external/boringssl/src/crypto/x509/ |
x_crl.c | 71 /* Method to handle CRL access. 72 * In general a CRL could be very large (several Mb) and can consume large 74 * This method allows general CRL operations to be redirected to more 75 * efficient callbacks: for example a CRL entry database. 83 int (*crl_init)(X509_CRL *crl); 84 int (*crl_free)(X509_CRL *crl); 85 int (*crl_lookup)(X509_CRL *crl, X509_REVOKED **ret, 87 int (*crl_verify)(X509_CRL *crl, EVP_PKEY *pk); 92 static void setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp); 100 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r) [all...] |
x509cset.c | 66 if (x->crl->version == NULL) 68 if ((x->crl->version=M_ASN1_INTEGER_new()) == NULL) 71 return(ASN1_INTEGER_set(x->crl->version,version)); 76 if ((x == NULL) || (x->crl == NULL)) return(0); 77 return(X509_NAME_set(&x->crl->issuer,name)); 86 in=x->crl->lastUpdate; 92 M_ASN1_TIME_free(x->crl->lastUpdate); 93 x->crl->lastUpdate=in; 104 in=x->crl->nextUpdate; 110 M_ASN1_TIME_free(x->crl->nextUpdate) [all...] |
x_info.c | 81 ret->crl=NULL; 91 if (x->crl != NULL) X509_CRL_free(x->crl);
|
x509_ext.c | 68 return(X509v3_get_ext_count(x->crl->extensions)); 73 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos)); 78 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos)); 83 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos)); 88 return(X509v3_get_ext(x->crl->extensions,loc)); 93 return(X509v3_delete_ext(x->crl->extensions,loc)); 98 return X509V3_get_d2i(x->crl->extensions, nid, crit, idx); 104 return X509V3_add1_i2d(&x->crl->extensions, nid, value, crit, flags); 109 return(X509v3_add_ext(&(x->crl->extensions),ex,loc) != NULL);
|
x509_vfy.c | 78 /* CRL score values */ 84 /* certificate is within CRL scope */ 88 /* CRL times valid */ 96 /* If this score or above CRL is probably valid */ 100 /* CRL issuer is certificate issuer */ 104 /* CRL issuer is on certificate path */ 108 /* CRL issuer matches CRL AKID */ 112 /* Have a delta CRL with valid times */ 129 X509_CRL *crl, X509 *x) 828 X509_CRL *crl = NULL, *dcrl = NULL; variable 880 X509_CRL_free(crl); variable 895 X509_CRL_free(crl); variable 972 X509_CRL *crl, *best_crl = NULL; local 1445 X509_CRL *crl = NULL, *dcrl = NULL; local 1984 X509_CRL *crl = NULL; local [all...] |
pkcs7.c | 30 /* pkcs7_parse_header reads the non-certificate/non-CRL prefix of a PKCS#7 181 X509_CRL *crl; local 192 crl = d2i_X509_CRL(NULL, &inp, (long)CBS_len(&crl_data)); 193 if (!crl) { 199 if (sk_X509_CRL_push(out_crls, crl) == 0) { 200 X509_CRL_free(crl); 266 * |cb| with a CBB to which certificate or CRL data can be written, and the 337 X509_CRL *crl = sk_X509_CRL_value(crls, i); local 339 int len = i2d_X509_CRL(crl, NULL); 343 i2d_X509_CRL(crl, &buf) < 0) [all...] |
/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 | 234 assertFalse("The CRL should not be equals to the object which is not " 257 TBTCRL crl = new TBTCRL() { local 263 assertEquals(new X500Principal("CN=Z"), crl.getIssuerX500Principal()); 274 TBTCRL crl = new TBTCRL() { local 281 crl.getRevokedCertificate((X509Certificate) null); 291 crl.getRevokedCertificate(cert); 298 TBTCRL crl = new TBTCRL() { local 305 crl.getEncoded(); 306 crl.getIssuerDN(); 307 crl.getNextUpdate() 327 TBTCRL crl = new TBTCRL(); local [all...] |
X509CRLSelector2Test.java | 17 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." 243 CRL crl = new TestCRL(minCRL); local 265 TestCRL crl = new TestCRL(maxCRL); local 285 TestCRL crl = new TestCRL(new Date(200), new Date(300)); local 318 TestCRL crl = new TestCRL(); local 474 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);
|