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] Source #

Parse the packets from a ByteString, with no error reporting

Orphan instances

Binary SymmetricAlgorithm Source # 
Instance details

Binary PubKeyAlgorithm Source # 
Instance details

Binary HashAlgorithm Source # 
Instance details

Binary CompressionAlgorithm Source # 
Instance details

Binary SigType Source # 
Instance details

Methods

put :: SigType -> Put #

get :: Get SigType #

putList :: [SigType] -> Put #

Binary MPI Source # 
Instance details

Methods

put :: MPI -> Put #

get :: Get MPI #

putList :: [MPI] -> Put #

Binary SigSubPacket Source # 
Instance details

Binary SignaturePayload Source # 
Instance details

Binary S2K Source # 
Instance details

Methods

put :: S2K -> Put #

get :: Get S2K #

putList :: [S2K] -> Put #

Binary UserAttrSubPacket Source # 
Instance details

Binary PKPayload Source # 
Instance details

Binary Pkt Source # 
Instance details

Methods

put :: Pkt -> Put #

get :: Get Pkt #

putList :: [Pkt] -> Put #

Binary OtherPacket Source # 
Instance details

Binary ModificationDetectionCode Source # 
Instance details

Binary SymEncIntegrityProtectedData Source # 
Instance details

Binary UserAttribute Source # 
Instance details

Binary PublicSubkey Source # 
Instance details

Binary UserId Source # 
Instance details

Methods

put :: UserId -> Put #

get :: Get UserId #

putList :: [UserId] -> Put #

Binary Trust Source # 
Instance details

Methods

put :: Trust -> Put #

get :: Get Trust #

putList :: [Trust] -> Put #

Binary LiteralData Source # 
Instance details

Binary Marker Source # 
Instance details

Methods

put :: Marker -> Put #

get :: Get Marker #

putList :: [Marker] -> Put #

Binary SymEncData Source # 
Instance details

Binary CompressedData Source # 
Instance details

Binary SecretSubkey Source # 
Instance details

Binary PublicKey Source # 
Instance details

Binary SecretKey Source # 
Instance details

Binary OnePassSignature Source # 
Instance details

Binary SKESK Source # 
Instance details

Methods

put :: SKESK -> Put #

get :: Get SKESK #

putList :: [SKESK] -> Put #

Binary Signature Source # 
Instance details

Binary PKESK Source # 
Instance details

Methods

put :: PKESK -> Put #

get :: Get PKESK #

putList :: [PKESK] -> Put #

Binary TK Source # 
Instance details

Methods

put :: TK -> Put #

get :: Get TK #

putList :: [TK] -> Put #

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

Methods

put :: Block a -> Put #

get :: Get (Block a) #

putList :: [Block a] -> Put #