Questions tagged [xades]
34 questions
3
votes
2 answers
C#- How to sign certificate XML document without URI attribute on tag?
It is possible to sign a XML document without passing the URI attribute to the tag?
I was able to sign the entire XML document of type using KeyInfoX509Data certificate and XAdEs format using C#.
The signature is valid,…

Danilo Souza
- 41
- 3
2
votes
1 answer
.NET XAdES Signing throws CryptographicException
I'm trying to sign XML with XAdES with certificate stored on Smart Card.
First of all, it is worth to mention, that when I'm signing the same XML document with software added to this smart card, operation goes without any problem.
Here is…

Jan J.
- 45
- 5
1
vote
0 answers
XAdES-BES signature using xades4j library for Ecuador SRI
I am trying to sign an xml invoice from my file system using xades4j library to be compliant with Ecuador's SRI (Servicio de Rentas Internas) however I have not been successful, I keep getting the following error when trying to validate the signed…

JazzDTap
- 11
- 1
1
vote
0 answers
Import private key from .p12 file to sign an XML file with XAdES using xadesjs
Hello everyone I'm using xadesjs specifically the XAdES-BES Signature,I've been following the steps of the documentation.
var xadesjs = require("xadesjs");
var { Crypto } = require("@peculiar/webcrypto");
xadesjs.Application.setEngine("NodeJS", new…

Humberto Cueva
- 11
- 1
1
vote
0 answers
XAdES external signing using client privateKey
I'm trying to digitally sign XML document using client-server signing.
The certificate is in a Workstation, I'm using a C# desktop app to read the certificates and do the signing with the private key.
The server generates digest of XML and sends the…

jhuamanchumo
- 385
- 2
- 7
- 21
1
vote
2 answers
how to sign xml with xades signature
i need to sign xml file with standard xsades signature using java.
I know that i need to add extra field when generating signature:
A certificate can be considered a seal
That in the field description of the entity must have the organization…

Jacek Kaczmarek
- 103
- 10
1
vote
2 answers
Append XML with XAdES-T Timestamp Response (TSR)
For a project, XML files are dynamically generated. After a while, these XML files need to be signed using the XAdES-T protocol. The signature must be included in the XML file.
To do that, I generate a Timestamp Query (TSQ) from the XML file. It is…

Frank M
- 170
- 3
- 14
1
vote
1 answer
Chilkat - Delphi DLL - XADES - CkXmlDSigGen_AddExternalTextRef
I have a problem using the Ck XmlDSig Gen_AddExternalTextRef function.
After signing, DigestValue always gets the same value for different URLs.
8ZRc1sGeVrPBx4lD717BgRaQekyh78QKV9SKsdt638U=
Where is the problem?
I…

Marek_P
- 9
- 2
1
vote
1 answer
Can I use ECDSA certificate to generate signature with xades4j?
I'm trying to digitally sign an xml document with xades4j, but I get an exception "UnsupportedAlgorithmException: Signature algorithm not supported by the provider (EC)"
when I use EC certificate, however the exception goes when user RSA.
Is there a…

user2769843
- 33
- 3
1
vote
1 answer
Convert enveloped XaDES to detached
We have a document signing service that runs in the cloud. The idea is that user uploads a document that he would like to sign, and the document is then signed on the backend using the user's private key that is kept on an HSM. However, in order to…

user3362334
- 1,980
- 3
- 26
- 58
1
vote
1 answer
XAdES signature using Google Cloud KMS
Is there any way to make XAdES signature using Google Cloud KMS? I cannot find any info about it.

Dmitry Vasilev
- 11
- 1
1
vote
1 answer
Processing the SignedProperties node in XaDeS XML Signature(C++)
So I'm trying to compute the digest value of the SignedProperties element according to XaDeS-EPES signature standard but I always get an incorrect digest value.
I know the steps to follow, which are canonicalization of the node(according to XML…

ExploitingStuctures
- 11
- 1
1
vote
0 answers
C# How can you create a full body reference for xml signing without having the URI attribute in the reference?
I am trying to sign an XML document but the one reference URI attribute must not form part of the signature. is this possible? if i try have a reference without a uri defined the xml doesnt get signed. making use of https://github.com/Caliper/Xades…

Mikerad
- 131
- 2
- 9
1
vote
1 answer
XAdES validation fails with Reference URI="" for document with stylesheet processing instruction
The document I am signing looks like this.
I am using xadesjs to sign this XML with the following code:
const…

Tomasz Kula
- 16,199
- 2
- 68
- 79
1
vote
2 answers
How to sign xml with XAdES4j, and reference URI (#DatosEmision)?
I am using this code to try to sign an xml, with a signature xades-bes:
// open file
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = null;
builder = factory.newDocumentBuilder();
Document doc1 =…

Slugs FC
- 11
- 2