-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | OpenPGP (RFC4880) ASCII Armor codec
--   
--   OpenPGP (RFC4880) ASCII Armor codec
@package openpgp-asciiarmor
@version 0.1

module Codec.Encryption.OpenPGP.ASCIIArmor.Types
data Armor
Armor :: ArmorType -> [(String, String)] -> ByteString -> Armor
ClearSigned :: [(String, String)] -> ByteString -> Armor -> Armor
data ArmorType
ArmorMessage :: ArmorType
ArmorPublicKeyBlock :: ArmorType
ArmorPrivateKeyBlock :: ArmorType
ArmorSplitMessage :: ByteString -> ByteString -> ArmorType
ArmorSplitMessageIndefinite :: ByteString -> ArmorType
ArmorSignature :: ArmorType
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.Armor
instance GHC.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.Armor
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.ArmorType
instance GHC.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.ArmorType

module Codec.Encryption.OpenPGP.ASCIIArmor.Encode
encode :: [Armor] -> ByteString
encodeLazy :: [Armor] -> ByteString

module Codec.Encryption.OpenPGP.ASCIIArmor.Decode
parseArmor :: Parser Armor
decode :: IsString e => ByteString -> Either e [Armor]
decodeLazy :: IsString e => ByteString -> Either e [Armor]

module Codec.Encryption.OpenPGP.ASCIIArmor
decode :: IsString e => ByteString -> Either e [Armor]
decodeLazy :: IsString e => ByteString -> Either e [Armor]
encode :: [Armor] -> ByteString
encodeLazy :: [Armor] -> ByteString
parseArmor :: Parser Armor
multipartMerge :: [Armor] -> Armor
