ca_certbundle_add
int ca_certbundle_add(struct ibuf *, struct iked_id *);
if (ca_certbundle_add(buf, &msg->msg_cert) != 0) {
if (ca_certbundle_add(buf, &msg->msg_scert[i]) != 0) {