Expand description
Transform pipeline for XMLDSig <Reference> processing.
Implements XMLDSig §6.6:
each <Reference> specifies a chain of transforms applied sequentially to
produce bytes for digest computation.
The pipeline is a simple Vec<Transform> iterated front-to-back — a dramatic
simplification of xmlsec1’s bidirectional push/pop doubly-linked list with
auto-inserted type adapters.
§Supported transforms
| Transform | Direction | Priority |
|---|---|---|
| Enveloped signature | NodeSet → NodeSet | P0 (SAML) |
| Inclusive C14N 1.0/1.1 | NodeSet → Binary | P0 |
| Exclusive C14N 1.0 | NodeSet → Binary | P0 |
| Base64 decode | Binary → Binary | P1 (future) |
Enums§
- Transform
- A single transform in the pipeline.
Constants§
- DEFAULT_
IMPLICIT_ C14N_ URI - The implicit default canonicalization URI applied when no explicit C14N
transform is present in a
<Reference>. - ENVELOPED_
SIGNATURE_ URI - The algorithm URI for the enveloped signature transform.
- XPATH_
TRANSFORM_ URI - The algorithm URI for the XPath 1.0 transform.
Functions§
- execute_
transforms - Execute a chain of transforms for a single
<Reference>. - parse_
transforms - Parse a
<Transforms>element into aVec<Transform>.