Seal.hs 353 B

12345678910111213141516
  1. module Data.SMTP.Types.Seal where
  2. import Data.ByteString (ByteString)
  3. data Seal = Seal {
  4. cp :: ByteString,
  5. seal :: ByteString,
  6. nonce :: Maybe ByteString} deriving (Eq, Ord, Read, Show)
  7. {- |
  8. Name of URI parameter (that follows the ? sign) that holds a seal: "seal"
  9. (Quite unexpected, wasn't it?)
  10. -}
  11. sealURIParam :: String
  12. sealURIParam = "seal"