| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
SAML2.XML.Canonical
Description
XML Canonicalization
For http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/ §6.5
Synopsis
- data CanonicalizationAlgorithm
- = CanonicalXML10 { }
- | CanonicalXML11 { }
- | CanonicalXMLExcl10 { }
- newtype InclusiveNamespaces = InclusiveNamespaces {}
- canonicalize :: CanonicalizationAlgorithm -> Maybe InclusiveNamespaces -> Maybe String -> XmlTree -> IO ByteString
- canonicalizeWithRoot :: CanonicalizationAlgorithm -> Maybe InclusiveNamespaces -> Maybe String -> XmlTrees -> IO ByteString
Documentation
data CanonicalizationAlgorithm Source #
§6.5
Constructors
| CanonicalXML10 | §6.5.1 xml-c14n |
Fields | |
| CanonicalXML11 | §6.5.2 xml-c14n11 |
Fields | |
| CanonicalXMLExcl10 | |
Fields | |
Instances
| Show CanonicalizationAlgorithm Source # | |
Defined in SAML2.XML.Canonical Methods showsPrec :: Int -> CanonicalizationAlgorithm -> ShowS # show :: CanonicalizationAlgorithm -> String # showList :: [CanonicalizationAlgorithm] -> ShowS # | |
| Eq CanonicalizationAlgorithm Source # | |
Defined in SAML2.XML.Canonical Methods (==) :: CanonicalizationAlgorithm -> CanonicalizationAlgorithm -> Bool # (/=) :: CanonicalizationAlgorithm -> CanonicalizationAlgorithm -> Bool # | |
| Identifiable URI CanonicalizationAlgorithm Source # | |
Defined in SAML2.XML.Canonical | |
newtype InclusiveNamespaces Source #
Constructors
| InclusiveNamespaces | |
Fields | |
Instances
| Show InclusiveNamespaces Source # | |
Defined in SAML2.XML.Canonical Methods showsPrec :: Int -> InclusiveNamespaces -> ShowS # show :: InclusiveNamespaces -> String # showList :: [InclusiveNamespaces] -> ShowS # | |
| Eq InclusiveNamespaces Source # | |
Defined in SAML2.XML.Canonical Methods (==) :: InclusiveNamespaces -> InclusiveNamespaces -> Bool # (/=) :: InclusiveNamespaces -> InclusiveNamespaces -> Bool # | |
| XmlPickler InclusiveNamespaces Source # | |
Defined in SAML2.XML.Canonical Methods | |
canonicalize :: CanonicalizationAlgorithm -> Maybe InclusiveNamespaces -> Maybe String -> XmlTree -> IO ByteString Source #
Canonicalize and serialize an XML document