Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
SAML and XML Signature Syntax and Processing
Synopsis
- signSAMLProtocol :: SAMLProtocol a => SigningKey -> a -> IO a
- verifySAMLProtocol :: SAMLProtocol a => ByteString -> IO a
- verifySAMLProtocolWithKeys :: SAMLProtocol a => PublicKeys -> XmlTree -> IO a
Documentation
signSAMLProtocol :: SAMLProtocol a => SigningKey -> a -> IO a Source #
verifySAMLProtocol :: SAMLProtocol a => ByteString -> IO a Source #
verifySAMLProtocolWithKeys :: SAMLProtocol a => PublicKeys -> XmlTree -> IO a Source #
A variant of verifySAMLProtocol
that is more symmetric to signSAMLProtocol
. The reason it
takes an XmlTree
and not an a
is that signature verification needs both.