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


-- | OpenPGP (RFC9580) ASCII Armor codec
--   
--   OpenPGP (RFC9580) ASCII Armor codec with legacy (RFC4880)
--   compatibility
@package openpgp-asciiarmor
@version 1.0

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
data ConformanceProfile
Strict_4880_AA :: ConformanceProfile
Strict_9580_AA :: ConformanceProfile
Postel_AA :: ConformanceProfile
data DecodeOptions
DecodeOptions :: ConformanceProfile -> DecodeCRC24Validation -> DecodeCleartextHeaderPolicy -> DecodeOptions
[decodeConformanceProfile] :: DecodeOptions -> ConformanceProfile
[decodeCRC24Validation] :: DecodeOptions -> DecodeCRC24Validation
[decodeCleartextHeaderPolicy] :: DecodeOptions -> DecodeCleartextHeaderPolicy
data DecodeCRC24Validation
DecodeCRC24ValidationAuto :: DecodeCRC24Validation
DecodeCRC24ValidationStrict :: DecodeCRC24Validation
DecodeCRC24ValidationPermissive :: DecodeCRC24Validation
data DecodeCleartextHeaderPolicy
DecodeCleartextHeaderPolicyAuto :: DecodeCleartextHeaderPolicy
DecodeCleartextHeaderPolicyLegacy :: DecodeCleartextHeaderPolicy
DecodeCleartextHeaderPolicyHashOnly :: DecodeCleartextHeaderPolicy
defaultDecodeOptions :: DecodeOptions
data EncodeOptions
EncodeOptions :: ConformanceProfile -> EncodeCRC24Emission -> EncodeOptions
[encodeConformanceProfile] :: EncodeOptions -> ConformanceProfile
[encodeCRC24Emission] :: EncodeOptions -> EncodeCRC24Emission
data EncodeCRC24Emission
EncodeCRC24EmissionAuto :: EncodeCRC24Emission
EncodeCRC24EmissionAlways :: EncodeCRC24Emission
EncodeCRC24EmissionNever :: EncodeCRC24Emission
defaultEncodeOptions :: EncodeOptions
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.Armor
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.ArmorType
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.ConformanceProfile
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.DecodeCRC24Validation
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.DecodeCleartextHeaderPolicy
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.DecodeOptions
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.EncodeCRC24Emission
instance GHC.Classes.Eq Codec.Encryption.OpenPGP.ASCIIArmor.Types.EncodeOptions
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.Armor
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.ArmorType
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.ConformanceProfile
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.DecodeCRC24Validation
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.DecodeCleartextHeaderPolicy
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.DecodeOptions
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.EncodeCRC24Emission
instance GHC.Internal.Show.Show Codec.Encryption.OpenPGP.ASCIIArmor.Types.EncodeOptions

module Codec.Encryption.OpenPGP.ASCIIArmor.Encode
encode :: [Armor] -> ByteString
encodeLazy :: [Armor] -> ByteString
encodeWith :: EncodeOptions -> [Armor] -> ByteString
encodeLazyWith :: EncodeOptions -> [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]
decodeWith :: IsString e => DecodeOptions -> ByteString -> Either e [Armor]
decodeLazyWith :: IsString e => DecodeOptions -> ByteString -> Either e [Armor]

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