Lines Matching defs:subject

44     hx509_name subject;
111 hx509_name_free(&(*tbs)->subject);
188 { "subject", HX509_CA_TEMPLATE_SUBJECT },
230 if (tbs->subject)
231 hx509_name_free(&tbs->subject);
232 ret = hx509_cert_get_subject(cert, &tbs->subject);
235 "Failed to get subject from template");
354 * Set the subject public key info (SPKI) in the to-be-signed certificate
360 * @param spki subject public key info to use for the to-be-signed certificate object.
820 * Set the subject name of a to-be-signed certificate object.
824 * @param subject the name to set a subject.
834 hx509_name subject)
836 if (tbs->subject)
837 hx509_name_free(&tbs->subject);
838 return hx509_name_copy(context, subject, &tbs->subject);
886 * Expand the the subject name in the to-be-signed certificate object
891 * @param env enviroment variable to expand variables in the subject
904 return hx509_name_expand(context, tbs->subject, env);
954 build_proxy_prefix(hx509_context context, const Name *issuer, Name *subject)
960 ret = copy_Name(issuer, subject);
963 "Failed to copy subject name");
971 "Failed to copy subject name");
975 ret = _hx509_name_modify(context, subject, 1, &asn1_oid_id_at_commonName, tstr);
978 free_Name(subject);
1045 * Don't put restrictions on proxy certificate's subject name, it
1049 if (tbs->subject == NULL) {
1050 hx509_set_error_string(context, 0, EINVAL, "No subject name set");
1053 if (hx509_name_is_null_p(tbs->subject) && tbs->san.len == 0) {
1055 "NULL subject and no SubjectAltNames");
1110 ret = hx509_name_to_Name(tbs->subject, &tbsc->issuer);
1120 /* subject Name, */
1122 ret = build_proxy_prefix(context, &tbsc->issuer, &tbsc->subject);
1126 ret = hx509_name_to_Name(tbs->subject, &tbsc->subject);
1129 "Failed to copy subject name");
1477 ret = copy_Name(&certificate->tbsCertificate.subject, &name);
1559 &signer_cert->tbsCertificate.subject,