Module xmlrat_c14n

Implementation of XML Exclusive Canonicalization (C14N).

Description

Implementation of XML Exclusive Canonicalization (C14N).

See W3C Recommendation: Exclusive XML Canonicalization Version 1.0.

This serialises an XML document into a canonical form suitable for signing or other forms of verification/validation that require byte-identical representations at both ends of a process.

Data Types

options()

options() = #{force_namespaces => #{xmlrat:nsname() => boolean()}, comments => boolean()}

Options, as given to string/2.

Function Index

string/1Serialises an XML document in canonical form (without comments).
string/2Serialises an XML document in canonical form, with configurable options.

Function Details

string/1

string(D0::xmlrat:document()) -> binary()

Serialises an XML document in canonical form (without comments).

string/2

string(D0::xmlrat:document(), Opts::options()) -> binary()

Serialises an XML document in canonical form, with configurable options.


Generated by EDoc