Safe Haskell | None |
---|---|
Language | Haskell2010 |
XML Signature Syntax and Processing
http://www.w3.org/TR/2008/REC-xmldsig-core-20080610/ (selected portions)
Documentation
module SAML2.XML.Signature.Types
data SigningKey Source #
Instances
Eq SigningKey Source # | |
Defined in SAML2.XML.Signature (==) :: SigningKey -> SigningKey -> Bool # (/=) :: SigningKey -> SigningKey -> Bool # | |
Show SigningKey Source # | |
Defined in SAML2.XML.Signature showsPrec :: Int -> SigningKey -> ShowS # show :: SigningKey -> String # showList :: [SigningKey] -> ShowS # |
data PublicKeys Source #
Instances
Eq PublicKeys Source # | |
Defined in SAML2.XML.Signature (==) :: PublicKeys -> PublicKeys -> Bool # (/=) :: PublicKeys -> PublicKeys -> Bool # | |
Show PublicKeys Source # | |
Defined in SAML2.XML.Signature showsPrec :: Int -> PublicKeys -> ShowS # show :: PublicKeys -> String # showList :: [PublicKeys] -> ShowS # | |
Semigroup PublicKeys Source # | |
Defined in SAML2.XML.Signature (<>) :: PublicKeys -> PublicKeys -> PublicKeys # sconcat :: NonEmpty PublicKeys -> PublicKeys # stimes :: Integral b => b -> PublicKeys -> PublicKeys # | |
Monoid PublicKeys Source # | |
Defined in SAML2.XML.Signature mempty :: PublicKeys # mappend :: PublicKeys -> PublicKeys -> PublicKeys # mconcat :: [PublicKeys] -> PublicKeys # |
signBase64 :: SigningKey -> ByteString -> IO ByteString Source #
verifyBase64 :: PublicKeys -> IdentifiedURI SignatureAlgorithm -> ByteString -> ByteString -> Maybe Bool Source #
generateSignature :: SigningKey -> SignedInfo -> IO Signature Source #
verifySignature :: PublicKeys -> String -> XmlTree -> IO (Maybe Bool) Source #