tak
struct tak *p;
void tak_free(struct tak *);
struct tak *tak_parse(struct cert **, const char *, int,
void tak_print(const struct cert *, const struct tak *);
struct tak *tak = NULL;
tak = tak_parse(&cert, file, -1, buf, len);
if (tak == NULL)
expires = &tak->expires;
tak_print(cert, tak);
tak_free(tak);
static struct tak *
struct tak *tak;
if ((tak = tak_parse(&cert, file, entp->talid, der, len)) == NULL)
tak->talid = a->cert->talid;
tak->expires = x509_find_expires(cert->notafter, a, &crls);
return tak;
tak_free(tak);
struct tak *tak;
tak = proc_parser_tak(file, f, flen, entp, ctx);
if (tak != NULL)
mtime = tak->signtime;
tak_free(tak);
tak_print(const struct cert *c, const struct tak *p)
tak_parse_econtent(const char *fn, struct tak *tak, const unsigned char *d,
tak->current = parse_takey(fn, tak_asn1->current);
if (tak->current == NULL)
tak->predecessor = parse_takey(fn, tak_asn1->predecessor);
if (tak->predecessor == NULL)
tak->successor = parse_takey(fn, tak_asn1->successor);
if (tak->successor == NULL)
struct tak *
struct tak *tak;
if ((tak = calloc(1, sizeof(struct tak))) == NULL)
tak->signtime = signtime;
if (!tak_parse_econtent(fn, tak, cms, cmsz))
if (strcmp(cert->aki, tak->current->ski) != 0) {
tak_free(tak);
tak = NULL;
return tak;
tak_free(struct tak *t)