Skip to main content

execute_transforms

Function execute_transforms 

Source
pub fn execute_transforms<'a>(
    signature_node: Node<'a, 'a>,
    initial_data: TransformData<'a>,
    transforms: &[Transform],
) -> Result<Vec<u8>, TransformError>
Expand description

Execute a chain of transforms for a single <Reference>.

  1. Start with initial_data (from URI dereference).
  2. Apply each transform sequentially.
  3. If the result is still a NodeSet, apply default inclusive C14N 1.0 to produce bytes (per XMLDSig ยง4.3.3.2).

Returns the final byte sequence ready for digest computation.