Lines Matching refs:issuer
73 int cert_add_ext(X509 *issuer, X509 *subject, int nid, char *value) in cert_add_ext() argument
82 X509V3_set_ctx(&ctx, issuer, subject, NULL, NULL, 0); in cert_add_ext()
103 cert_t *issuer_cert = &certs[cert->issuer]; in cert_new()
105 X509 *issuer = issuer_cert->x; in cert_new() local
128 if (!issuer) { in cert_new()
129 issuer = x; in cert_new()
191 cert_add_ext(issuer, x, NID_subject_key_identifier, "hash"); in cert_new()
192 cert_add_ext(issuer, x, NID_authority_key_identifier, "keyid:always"); in cert_new()
194 cert_add_ext(issuer, x, NID_basic_constraints, "CA:TRUE"); in cert_new()
195 cert_add_ext(issuer, x, NID_key_usage, "keyCertSign"); in cert_new()
197 cert_add_ext(issuer, x, NID_basic_constraints, "CA:FALSE"); in cert_new()