hx509_pem_write
hx509_pem_write (
ret = hx509_pem_write(context, "CMS SIGNEDDATA", header, f,
hx509_pem_write(context, "CERTIFICATE", NULL, sc->f,
ret = hx509_pem_write(context, _hx509_private_pem_name(key), NULL,