Questions tagged [xades]
34 questions
1
vote
0 answers
Xades signature creation and verification end-to-end working example?
I need Xades B-T signature creation and verification in a Java project. I found DSS and xades4j projects, but I'm unable to set them up. For example with DSS creating signature is easy, but during verification I get various errors.
Even DSS's…

iirekm
- 8,890
- 5
- 36
- 46
0
votes
0 answers
How to generate xades signed properties hash of e invoice?
I have tried many times and many ways to get the xadesSignedProperties encoded hash (DigestValue) but always I get uncorrect result .
I have this singed properties :

mohammed awni
- 158
- 1
- 13
0
votes
0 answers
I need to sign a XML with a specific format, I have an example of what I should get but I'm not being able to replicate it
In the correct form of the file there are thee fields coming from the same .pfx certificate and ends with something like this:
MIIHYTCCBkmgAwIBA....
…

Adriusk91
- 1
- 1
0
votes
1 answer
XADES Signature Verification
I use below java code to verify XML signature using xades4j
NodeList nl = doc.getElementsByTagNameNS("http://www.w3.org/2000/09/xmldsig#", "Signature");
FileSystemDirectoryCertStore certStore = new
…

Kevin
- 407
- 2
- 7
- 22
0
votes
0 answers
SignedXml doesn't work if the xmlElement is the parent
I tried and read a lot (im new about signin xml documents)
So, I try to sing the factura element in the next examle
But it doesn't work,…

MrBugsV
- 1
0
votes
1 answer
How to tell if a XADES signature is QSCD compliant
I have an XML file which has been signed with XADES using qualified digital signature.
How do I tell if this signature is QSCD compliant?
Is this something:
that is recorded in the XML signature nodes, for instance as a child node under…

Matt
- 3
- 2
0
votes
1 answer
XAdES creation with manual signature entry
I am trying to create a digitally signed XML document using the signature from my ID card.
I have two parts of the program. The first one is getting the certificates and signature of the file from the ID.
For that I am using python PKCS11 library…

cubiii
- 359
- 3
- 11
0
votes
2 answers
Xades XML Sign Policy
Hello I'm working on a script to sign XML files with Xades (mandatory). I never worked before in signing XML files so I'm quite lost.
The error seems realted to the sign policy but I'm not sure how it is done. I must add
a link to…

Ander Carrera
- 49
- 4
0
votes
1 answer
A question about "Chilkat , XAdES-C , EncapsulatedTimeStamp"
Below is my specific question.Thank you.
Does chilkat support generate XAdES-C?
What should I do if I want add EncapsulatedTimeStamp element into Signature?
Language: C#

lgtnice
- 1
- 2
0
votes
1 answer
How to calculate a signature to a XML XAdES including SignedProperties?
I try to calculate a XaDeS XML signature for the SignedInfo element but nothing gives the good signature. I tried to sign the digest with and without tag, I replaced by , I signed DigestValue1 + DigestValue2 etc. but…
0
votes
0 answers
Apache Poi, Xades Signature add Timestamp revocation info
I am working with Apache Poi 5.1.0, I sign an .docx Document, and the signature is valid.
I add this code:
RevocationData revocationData = new…

Mike
- 3
- 2
0
votes
1 answer
Generating XAdES from USB Token in c#
I’m trying to sign XML files via a USB Token in the XAdES format.
Documentation on System.Security.Cryptography.Xml is scarce. I can only find how to sign an XML with basic/default options…

Dalmo
- 1
- 2
0
votes
1 answer
Xades4j - How can I enter a hash for SHA256?
I need to sign xml files with XAdES-EPES enveloped, RSA-SHA256 with this hash: Quzn98x3PMbSHwbUzaj5f5KOpiH0u8bvmwbbbNkO9Es
I signed the XML but it is not valid because I don't know how to enter that Hash. This is my code:
public class…
0
votes
1 answer
Signing detached xml secured by jwt and tls
I have problem with signing XML Document. I need to sign external (detached) document like it’s made in this url :
https://learn.microsoft.com/en-us/dotnet/api/system.security.cryptography.xml.signedxml.computesignature?view=net-5.0
This example…

Daxter44
- 115
- 12
0
votes
1 answer
CXF JAX-RS how to sign XML message (using XAdES-T)
I am trying to build REST service using Apache CXF.
One of the requirement is to sign XML using XAdES-T standard.
I was going over
jax-rs-xml-security
and made it to sign XML document.
How can I add a timestamp to the…

Samara
- 7
- 5