Lines Matching defs:x509
31 #include <openssl/x509.h>
245 spl_parse(X509 **x509, const char *fn, int talid, const unsigned char *der,
255 cms = cms_parse_validate(x509, fn, der, len, spl_oid, &cmsz, &signtime);
263 if (!x509_get_aia(*x509, fn, &spl->aia))
265 if (!x509_get_aki(*x509, fn, &spl->aki))
267 if (!x509_get_sia(*x509, fn, &spl->sia))
269 if (!x509_get_ski(*x509, fn, &spl->ski))
278 if (!x509_get_notbefore(*x509, fn, &spl->notbefore))
280 if (!x509_get_notafter(*x509, fn, &spl->notafter))
286 if (x509_any_inherits(*x509)) {
291 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL)
315 X509_free(*x509);
316 *x509 = NULL;