Lines Matching defs:x509
31 #include <openssl/x509.h>
164 aspa_parse(X509 **x509, const char *fn, int talid, const unsigned char *der,
174 cms = cms_parse_validate(x509, fn, der, len, aspa_oid, &cmsz,
184 if (!x509_get_aia(*x509, fn, &aspa->aia))
186 if (!x509_get_aki(*x509, fn, &aspa->aki))
188 if (!x509_get_sia(*x509, fn, &aspa->sia))
190 if (!x509_get_ski(*x509, fn, &aspa->ski))
199 if (X509_get_ext_by_NID(*x509, NID_sbgp_ipAddrBlock, -1) != -1) {
204 if (!x509_get_notbefore(*x509, fn, &aspa->notbefore))
206 if (!x509_get_notafter(*x509, fn, &aspa->notafter))
209 if (x509_any_inherits(*x509)) {
217 if ((cert = cert_parse_ee_cert(fn, talid, *x509)) == NULL)
227 X509_free(*x509);
228 *x509 = NULL;