hOpenPGP-2.7.4.1: native Haskell implementation of OpenPGP (RFC4880)

Safe HaskellNone
LanguageHaskell2010

Codec.Encryption.OpenPGP.Serialize

Contents

Synopsis

Serialization functions

Utilities

parsePkts :: ByteString -> [Pkt] #

Parse the packets from a ByteString, with no error reporting

Orphan instances

Binary SymmetricAlgorithm # 
Instance details

Binary PubKeyAlgorithm # 
Instance details

Binary HashAlgorithm # 
Instance details

Binary CompressionAlgorithm # 
Instance details

Binary SigType # 
Instance details

Methods

put :: SigType -> Put #

get :: Get SigType #

putList :: [SigType] -> Put #

Binary MPI # 
Instance details

Methods

put :: MPI -> Put #

get :: Get MPI #

putList :: [MPI] -> Put #

Binary SigSubPacket # 
Instance details

Binary SignaturePayload # 
Instance details

Binary S2K # 
Instance details

Methods

put :: S2K -> Put #

get :: Get S2K #

putList :: [S2K] -> Put #

Binary UserAttrSubPacket # 
Instance details

Binary PKPayload # 
Instance details

Binary Pkt # 
Instance details

Methods

put :: Pkt -> Put #

get :: Get Pkt #

putList :: [Pkt] -> Put #

Binary OtherPacket # 
Instance details

Binary ModificationDetectionCode # 
Instance details

Binary SymEncIntegrityProtectedData # 
Instance details

Binary UserAttribute # 
Instance details

Binary PublicSubkey # 
Instance details

Binary UserId # 
Instance details

Methods

put :: UserId -> Put #

get :: Get UserId #

putList :: [UserId] -> Put #

Binary Trust # 
Instance details

Methods

put :: Trust -> Put #

get :: Get Trust #

putList :: [Trust] -> Put #

Binary LiteralData # 
Instance details

Binary Marker # 
Instance details

Methods

put :: Marker -> Put #

get :: Get Marker #

putList :: [Marker] -> Put #

Binary SymEncData # 
Instance details

Binary CompressedData # 
Instance details

Binary SecretSubkey # 
Instance details

Binary PublicKey # 
Instance details

Binary SecretKey # 
Instance details

Binary OnePassSignature # 
Instance details

Binary SKESK # 
Instance details

Methods

put :: SKESK -> Put #

get :: Get SKESK #

putList :: [SKESK] -> Put #

Binary Signature # 
Instance details

Binary PKESK # 
Instance details

Methods

put :: PKESK -> Put #

get :: Get PKESK #

putList :: [PKESK] -> Put #

Binary TK # 
Instance details

Methods

put :: TK -> Put #

get :: Get TK #

putList :: [TK] -> Put #

Binary a => Binary (Block a) # 
Instance details

Methods

put :: Block a -> Put #

get :: Get (Block a) #

putList :: [Block a] -> Put #