XADES4J - How to change <ds:Object Id=“xmldsig-1ddcf1ab-7648-4039-b166-69e14da39982-object0”…> to something other id

送分小仙女□ 提交于 2019-12-24 10:37:57

问题


When i signing XML document with Xades4J (Xades-BES), i'm getting signed document including my xml within something like:

<ds:Object Encoding="UTF-8" Id="xmldsig-1ddcf1ab-7648-4039-b166-69e14da39982-object0" MimeType="text/xml"> .... </ds:Object>

i must change Id="xmldsig-1ddcf1ab-7648-4039-b166-69e14da39982-object0" to Id="Dokument-0"

How can i do that ?

Thanks for all answers and sorry for my bad english. Darek


回答1:


Currently there's no way to change how the signed data object id's are generated, mostly because the lib ensures that unique id's are used, even if a document contains multiple signatures.



来源:https://stackoverflow.com/questions/12400560/xades4j-how-to-change-dsobject-id-xmldsig-1ddcf1ab-7648-4039-b166-69e14da39

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!