Lines Matching refs:body
88 if (!ossl_assert(msg != NULL && msg->body != NULL)) in ossl_cmp_msg_set_bodytype()
91 msg->body->type = type; in ossl_cmp_msg_set_bodytype()
97 if (!ossl_assert(msg != NULL && msg->body != NULL)) in OSSL_CMP_MSG_get_bodytype()
100 return msg->body->type; in OSSL_CMP_MSG_get_bodytype()
114 reqs = msg->body->value.ir; /* value.ir is same for cr and kur */ in OSSL_CMP_MSG_get0_certreq_publickey()
181 if ((msg->body->value.ir = OSSL_CRMF_MSGS_new()) == NULL) in ossl_cmp_msg_create()
190 if ((msg->body->value.p10cr = X509_REQ_dup(ctx->p10CSR)) == NULL) in ossl_cmp_msg_create()
197 if ((msg->body->value.ip = OSSL_CMP_CERTREPMESSAGE_new()) == NULL) in ossl_cmp_msg_create()
202 if ((msg->body->value.rr = sk_OSSL_CMP_REVDETAILS_new_null()) == NULL) in ossl_cmp_msg_create()
206 if ((msg->body->value.rp = OSSL_CMP_REVREPCONTENT_new()) == NULL) in ossl_cmp_msg_create()
211 if ((msg->body->value.certConf = in ossl_cmp_msg_create()
216 if ((msg->body->value.pkiconf = ASN1_TYPE_new()) == NULL) in ossl_cmp_msg_create()
218 ASN1_TYPE_set(msg->body->value.pkiconf, V_ASN1_NULL, NULL); in ossl_cmp_msg_create()
222 if ((msg->body->value.pollReq = sk_OSSL_CMP_POLLREQ_new_null()) == NULL) in ossl_cmp_msg_create()
226 if ((msg->body->value.pollRep = sk_OSSL_CMP_POLLREP_new_null()) == NULL) in ossl_cmp_msg_create()
232 if ((msg->body->value.genm = sk_OSSL_CMP_ITAV_new_null()) == NULL) in ossl_cmp_msg_create()
237 if ((msg->body->value.error = OSSL_CMP_ERRORMSGCONTENT_new()) == NULL) in ossl_cmp_msg_create()
427 if (!sk_OSSL_CRMF_MSG_push(msg->body->value.ir, local_crm)) in ossl_cmp_certreq_new()
460 repMsg = msg->body->value.ip; /* value.ip is same for cp and kup */ in ossl_cmp_certrep_new()
564 if (!sk_OSSL_CMP_REVDETAILS_push(msg->body->value.rr, rd)) in ossl_cmp_rr_new()
594 rep = msg->body->value.rp; in ossl_cmp_rp_new()
661 return OSSL_CMP_ITAV_push0_stack_item(&msg->body->value.genm, itav); in ossl_cmp_msg_gen_push0_ITAV()
741 OSSL_CMP_PKISI_free(msg->body->value.error->pKIStatusInfo); in ossl_cmp_error_new()
742 if ((msg->body->value.error->pKIStatusInfo = OSSL_CMP_PKISI_dup(si)) in ossl_cmp_error_new()
745 if ((msg->body->value.error->errorCode = ASN1_INTEGER_new()) == NULL) in ossl_cmp_error_new()
747 if (!ASN1_INTEGER_set_int64(msg->body->value.error->errorCode, errorCode)) in ossl_cmp_error_new()
757 msg->body->value.error->errorDetails = ft; in ossl_cmp_error_new()
820 if (sk_OSSL_CMP_CERTSTATUS_push(msg->body->value.certConf, certStatus) < 1) { in ossl_cmp_certConf_new()
888 || !sk_OSSL_CMP_POLLREQ_push(msg->body->value.pollReq, preq)) in ossl_cmp_pollReq_new()
917 if (!sk_OSSL_CMP_POLLREP_push(msg->body->value.pollRep, prep)) in ossl_cmp_pollRep_new()
1208 && ossl_cmp_pkisi_get_status(msg->body->value.error->pKIStatusInfo) in ossl_cmp_is_error_with_waiting()