hOpenPGP-2.5.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 # 
Binary PubKeyAlgorithm # 
Binary HashAlgorithm # 
Binary CompressionAlgorithm # 
Binary SigType # 

Methods

put :: SigType -> Put #

get :: Get SigType #

putList :: [SigType] -> Put #

Binary MPI # 

Methods

put :: MPI -> Put #

get :: Get MPI #

putList :: [MPI] -> Put #

Binary SigSubPacket # 
Binary SignaturePayload # 
Binary S2K # 

Methods

put :: S2K -> Put #

get :: Get S2K #

putList :: [S2K] -> Put #

Binary UserAttrSubPacket # 
Binary PKPayload # 
Binary Pkt # 

Methods

put :: Pkt -> Put #

get :: Get Pkt #

putList :: [Pkt] -> Put #

Binary OtherPacket # 
Binary ModificationDetectionCode # 
Binary SymEncIntegrityProtectedData # 
Binary UserAttribute # 
Binary PublicSubkey # 
Binary UserId # 

Methods

put :: UserId -> Put #

get :: Get UserId #

putList :: [UserId] -> Put #

Binary Trust # 

Methods

put :: Trust -> Put #

get :: Get Trust #

putList :: [Trust] -> Put #

Binary LiteralData # 
Binary Marker # 

Methods

put :: Marker -> Put #

get :: Get Marker #

putList :: [Marker] -> Put #

Binary SymEncData # 
Binary CompressedData # 
Binary SecretSubkey # 
Binary PublicKey # 
Binary SecretKey # 
Binary OnePassSignature # 
Binary SKESK # 

Methods

put :: SKESK -> Put #

get :: Get SKESK #

putList :: [SKESK] -> Put #

Binary Signature # 
Binary PKESK # 

Methods

put :: PKESK -> Put #

get :: Get PKESK #

putList :: [PKESK] -> Put #

Binary TK # 

Methods

put :: TK -> Put #

get :: Get TK #

putList :: [TK] -> Put #

Binary a => Binary (Block a) # 

Methods

put :: Block a -> Put #

get :: Get (Block a) #

putList :: [Block a] -> Put #