<div>Hello Antonio,</div><div><br></div><div>Thanks for your answer.So there is no way to not add the "signingTime" attribute? Is there a plan to make the attribute optional in the near future?</div><div><br></div><div>Regards.</div><div>Shiyao Liu</div><div><includetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Antonio Iacono"<antiac@gmail.com>;</div><div><b>Date: </b> Thu, Mar 14, 2019 04:41 PM</div><div><b>To: </b> "shiyao_liu@foxitsoftware.cn"<shiyao_liu@foxitsoftware.cn>; <wbr></div><div><b>Cc: </b> "openssl-users"<openssl-users@openssl.org>; "gaochao_liu"<gaochao_liu@foxitsoftware.cn>; "junyi_liang"<junyi_liang@foxitsoftware.com>; "xiaochuan_liu"<xiaochuan_liu@foxitsoftware.cn>; <wbr></div><div><b>Subject: </b> Re: How can I make openssl doesn't add a signed attribute "signingTime" when I sign a cms/cades singnature?</div></div><div> </div><div style="position:relative;">Hello Shiyao,<br><br>the signing time attribute has always been considered mandatory or in<br>any case useful and only with CAdES optional and even with PAdES not<br>allowed.<br>A request similar to yours has already been received (see<br>https://mta.openssl.org/pipermail/openssl-users/2017-February/005240.html)<br>I also believe that CMS API flag would be useful that allows<br>suppression of the signing-time attribute.<br><br>cc<br><br>On Wed, Mar 13, 2019 at 12:57 PM shiyao_liu@foxitsoftware.cn<br><shiyao_liu@foxitsoftware.cn> wrote:<br>><br>> Hello everyone,<br>><br>>     I am working on a project about how to use openssl libs to implement a PAdES(whitch is based on CAdES) signature because I saw that the master branch of openssl has supported CAdES-BES signature. But now there is a problem I don't know how to solve it. So I am asking for some help.<br>>     According to the PAdES reference, signing-time attribute in CMS signature shall not be present in a PAdES signature. In openssl libs, signing-time attribute is set in the function CMS_SignerInfo_sign. But I can't find a way to control it not to set  signing-time attribute. So I want to know if there is a way to not to set signing-time attribute or delete this attribute without changing the openssl source code.<br>><br>> Regards,<br>> Shiyao Liu<br>><br>> ________________________________<br>> shiyao_liu@foxitsoftware.cn<br></div></div><!--<![endif]--></includetail></div>