wai-saml2-0.5: SAML2 assertion validation as WAI middleware
Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Wai.SAML2.C14N

Description

A high-level interface to XML canonicalisation for the purpose of SAML2 signature validation.

Synopsis

Documentation

canonicalise :: [Text] -> ByteString -> IO ByteString Source #

canonicalise prefixList xml produces a canonical representation of xml while retaining namespaces matching prefixList.