xml-crypto
xml-crypto copied to clipboard
Respect idAttribute when generating signatures.
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.