crl 58 source4/heimdal/lib/hx509/revoke.c CRLCertificateList crl;
crl 156 source4/heimdal/lib/hx509/revoke.c free_CRLCertificateList(&(*ctx)->crls.val[i].crl);
crl 458 source4/heimdal/lib/hx509/revoke.c CRLCertificateList *crl,
crl 468 source4/heimdal/lib/hx509/revoke.c t = _hx509_Time2time_t(&crl->tbsCertList.thisUpdate);
crl 475 source4/heimdal/lib/hx509/revoke.c if (crl->tbsCertList.nextUpdate == NULL) {
crl 481 source4/heimdal/lib/hx509/revoke.c t = _hx509_Time2time_t(crl->tbsCertList.nextUpdate);
crl 499 source4/heimdal/lib/hx509/revoke.c q.subject_name = &crl->tbsCertList.issuer;
crl 511 source4/heimdal/lib/hx509/revoke.c &crl->signatureAlgorithm,
crl 512 source4/heimdal/lib/hx509/revoke.c &crl->tbsCertList._save,
crl 513 source4/heimdal/lib/hx509/revoke.c &crl->signatureValue);
crl 565 source4/heimdal/lib/hx509/revoke.c load_crl(const char *path, time_t *t, CRLCertificateList *crl)
crl 572 source4/heimdal/lib/hx509/revoke.c memset(crl, 0, sizeof(*crl));
crl 584 source4/heimdal/lib/hx509/revoke.c ret = decode_CRLCertificateList(data, length, crl, &size);
crl 590 source4/heimdal/lib/hx509/revoke.c if (crl->signatureValue.length & 7) {
crl 591 source4/heimdal/lib/hx509/revoke.c free_CRLCertificateList(crl);
crl 650 source4/heimdal/lib/hx509/revoke.c &ctx->crls.val[ctx->crls.len].crl);
crl 772 source4/heimdal/lib/hx509/revoke.c struct revoke_crl *crl = &ctx->crls.val[i];
crl 778 source4/heimdal/lib/hx509/revoke.c &crl->crl.tbsCertList.issuer, &diff);
crl 782 source4/heimdal/lib/hx509/revoke.c ret = stat(crl->path, &sb);
crl 783 source4/heimdal/lib/hx509/revoke.c if (ret == 0 && crl->last_modfied != sb.st_mtime) {
crl 786 source4/heimdal/lib/hx509/revoke.c ret = load_crl(crl->path, &crl->last_modfied, &cl);
crl 788 source4/heimdal/lib/hx509/revoke.c free_CRLCertificateList(&crl->crl);
crl 789 source4/heimdal/lib/hx509/revoke.c crl->crl = cl;
crl 790 source4/heimdal/lib/hx509/revoke.c crl->verified = 0;
crl 791 source4/heimdal/lib/hx509/revoke.c crl->failed_verify = 0;
crl 794 source4/heimdal/lib/hx509/revoke.c if (crl->failed_verify)
crl 798 source4/heimdal/lib/hx509/revoke.c if (crl->verified == 0) {
crl 799 source4/heimdal/lib/hx509/revoke.c ret = verify_crl(context, ctx, &crl->crl, now, certs, parent_cert);
crl 801 source4/heimdal/lib/hx509/revoke.c crl->failed_verify = 1;
crl 804 source4/heimdal/lib/hx509/revoke.c crl->verified = 1;
crl 807 source4/heimdal/lib/hx509/revoke.c if (crl->crl.tbsCertList.crlExtensions) {
crl 808 source4/heimdal/lib/hx509/revoke.c for (j = 0; j < crl->crl.tbsCertList.crlExtensions->len; j++) {
crl 809 source4/heimdal/lib/hx509/revoke.c if (crl->crl.tbsCertList.crlExtensions->val[j].critical) {
crl 818 source4/heimdal/lib/hx509/revoke.c if (crl->crl.tbsCertList.revokedCertificates == NULL)
crl 822 source4/heimdal/lib/hx509/revoke.c for (j = 0; j < crl->crl.tbsCertList.revokedCertificates->len; j++) {
crl 825 source4/heimdal/lib/hx509/revoke.c ret = der_heim_integer_cmp(&crl->crl.tbsCertList.revokedCertificates->val[j].userCertificate,
crl 830 source4/heimdal/lib/hx509/revoke.c t = _hx509_Time2time_t(&crl->crl.tbsCertList.revokedCertificates->val[j].revocationDate);
crl 834 source4/heimdal/lib/hx509/revoke.c if (crl->crl.tbsCertList.revokedCertificates->val[j].crlEntryExtensions)
crl 835 source4/heimdal/lib/hx509/revoke.c for (k = 0; k < crl->crl.tbsCertList.revokedCertificates->val[j].crlEntryExtensions->len; k++)
crl 836 source4/heimdal/lib/hx509/revoke.c if (crl->crl.tbsCertList.revokedCertificates->val[j].crlEntryExtensions->val[k].critical)
crl 1292 source4/heimdal/lib/hx509/revoke.c hx509_crl_alloc(hx509_context context, hx509_crl *crl)
crl 1296 source4/heimdal/lib/hx509/revoke.c *crl = calloc(1, sizeof(**crl));
crl 1297 source4/heimdal/lib/hx509/revoke.c if (*crl == NULL) {
crl 1302 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_init(context, "MEMORY:crl", 0, NULL, &(*crl)->revoked);
crl 1304 source4/heimdal/lib/hx509/revoke.c free(*crl);
crl 1305 source4/heimdal/lib/hx509/revoke.c *crl = NULL;
crl 1308 source4/heimdal/lib/hx509/revoke.c (*crl)->expire = 0;
crl 1326 source4/heimdal/lib/hx509/revoke.c hx509_crl crl,
crl 1329 source4/heimdal/lib/hx509/revoke.c return hx509_certs_merge(context, crl->revoked, certs);
crl 1346 source4/heimdal/lib/hx509/revoke.c hx509_crl_lifetime(hx509_context context, hx509_crl crl, int delta)
crl 1348 source4/heimdal/lib/hx509/revoke.c crl->expire = time(NULL) + delta;
crl 1362 source4/heimdal/lib/hx509/revoke.c hx509_crl_free(hx509_context context, hx509_crl *crl)
crl 1364 source4/heimdal/lib/hx509/revoke.c if (*crl == NULL)
crl 1366 source4/heimdal/lib/hx509/revoke.c hx509_certs_free(&(*crl)->revoked);
crl 1367 source4/heimdal/lib/hx509/revoke.c memset(*crl, 0, sizeof(**crl));
crl 1368 source4/heimdal/lib/hx509/revoke.c free(*crl);
crl 1369 source4/heimdal/lib/hx509/revoke.c *crl = NULL;
crl 1423 source4/heimdal/lib/hx509/revoke.c hx509_crl crl,
crl 1474 source4/heimdal/lib/hx509/revoke.c time_t next = crl->expire;
crl 1491 source4/heimdal/lib/hx509/revoke.c ret = hx509_certs_iter(context, crl->revoked, add_revoked, &c.tbsCertList);