Lines Matching defs:x509
29 #include <openssl/x509.h>
205 tak_parse(X509 **x509, const char *fn, int talid, const unsigned char *der,
215 cms = cms_parse_validate(x509, fn, der, len, tak_oid, &cmsz, &signtime);
223 if (!x509_get_aia(*x509, fn, &tak->aia))
225 if (!x509_get_aki(*x509, fn, &tak->aki))
227 if (!x509_get_sia(*x509, fn, &tak->sia))
229 if (!x509_get_ski(*x509, fn, &tak->ski))
238 if (!x509_get_notbefore(*x509, fn, &tak->notbefore))
240 if (!x509_get_notafter(*x509, fn, &tak->notafter))
243 if (!x509_inherits(*x509)) {
251 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL)
264 X509_free(*x509);
265 *x509 = NULL;