Skip to content
HALOWERK

Formatwerk

xades verify

Rejects DOCTYPEs, treats duplicate Ids as ambiguous (signature wrapping), recomputes each same-document reference with its own Canonical XML 1.0 and Exclusive C14N (comments, InclusiveNamespaces, xml:* inheritance, enveloped-signature transform), compares SHA-1/SHA-2 digests and verifies the SignatureValue with node:crypto (RSA, RSA-PSS, ECDSA). Keys from X.509, RSAKeyValue, ECKeyValue or a pinned certificate. XAdES: SignedProperties referenced and intact, SigningCertificate digest and.

POST https://format.halowerk.com/v1/xades-verify

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
xmlstringYesSigned XML document (enveloped or enveloping signatures).
certificate_pemstringNoOptional signer certificate (PEM) to verify against instead of KeyInfo (pinning).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "xml"
  ],
  "properties": {
    "xml": {
      "type": "string",
      "minLength": 1,
      "maxLength": 3000000,
      "description": "Signed XML document (enveloped or enveloping signatures)."
    },
    "certificate_pem": {
      "type": "string",
      "maxLength": 20000,
      "description": "Optional signer certificate (PEM) to verify against instead of KeyInfo (pinning)."
    }
  }
}

Open original schema

Published input example

{
  "xml": "<Beleg xmlns=\"urn:beleg\"><Daten Id=\"b1\"><Nr>4711</Nr><Summe>99.00</Summe></Daten><ds:Signature xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm=\"http://www.w3.org/2001/10/xml-exc-c14n#\"/><ds:SignatureMethod Algorithm=\"http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256\"/><ds:Reference URI=\"#b1\"><ds:Transforms><ds:Transform Algorithm=\"http://www.w3.org/2001/10/xml-exc-c14n#\"/></ds:Transforms><ds:DigestMethod Algorithm=\"http://www.w3.org/2001/04/xmlenc#sha256\"/><ds:DigestValue>6RK5/PkZ5zkL/hj8CQqwHGGZLBg5LI8IBgz3ibk/y7k=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>P2QGj+ZvHxgLtvlBWcEPddoOq2vWwo9Y4ySh5m26eiITx8gcfxtxg7hmz8v40o3eMCokSyOMOoU7&#13;\nnq0MbWJjiA==</ds:SignatureValue><ds:KeyInfo><ds:KeyValue><ds:ECKeyValue xmlns:ds=\"http://www.w3.org/2009/xmldsig11#\"><ds:NamedCurve URI=\"urn:oid:1.2.840.10045.3.1.7\"/><ds:PublicKey>BHzr+hp8yrSa5tn1gqlOFO1wgDbfI7ZfVhvQgXB0oD8aNI/Pppg/7ogJBlFhoe5d6GHcDdLxiEEX&#13;\nM4VBkZ9Qq40=</ds:PublicKey></ds:ECKeyValue></ds:KeyValue></ds:KeyInfo></ds:Signature></Beleg>"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’