xml-crypto icon indicating copy to clipboard operation
xml-crypto copied to clipboard

Respect idAttribute when generating signatures.

Open tkalmar opened this issue 6 months ago • 13 comments

Fixes #33 small fix to respect user provided idAttribute when generating id's

Summary by CodeRabbit

  • New Features
    • Support for namespaced ID attributes (e.g., WS‑Security and xml:id) when signing XML.
    • idAttribute option now accepts either a plain name or a namespaced identifier, so you can provide a custom attribute or a namespaced ID.
    • Generated IDs and reference lookups honor the provided attribute form (plain or namespaced) for consistent signing and verification.

tkalmar avatar Jul 12 '25 12:07 tkalmar