Codec.Encryption.OpenPGP.Serialize

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

Safe Haskell | None
Language | Haskell2010

Codec.Encryption.OpenPGP.Serialize

Contents

- Serialization functions
- Utilities
- Orphan instances

Synopsis

- putSKAddendum :: SKAddendum -> Put
- getSecretKey :: PKPayload -> Get SKey
- parsePkts :: ByteString -> [Pkt]

# Serialization functions

putSKAddendum :: SKAddendum -> Put #

getSecretKey :: PKPayload -> Get SKey #

# Utilities

parsePkts :: ByteString -> [Pkt] #

Parse the packets from a ByteString, with no error reporting

# Orphan instances

Binary SymmetricAlgorithm # |
Methods put :: SymmetricAlgorithm -> Put # get :: Get SymmetricAlgorithm # putList :: [SymmetricAlgorithm] -> Put #
Binary PubKeyAlgorithm # |
Methods put :: PubKeyAlgorithm -> Put # get :: Get PubKeyAlgorithm # putList :: [PubKeyAlgorithm] -> Put #
Binary HashAlgorithm # |
Methods put :: HashAlgorithm -> Put # get :: Get HashAlgorithm # putList :: [HashAlgorithm] -> Put #
Binary CompressionAlgorithm # |
Methods put :: CompressionAlgorithm -> Put # get :: Get CompressionAlgorithm # putList :: [CompressionAlgorithm] -> Put #
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 # |
Methods put :: SigSubPacket -> Put # get :: Get SigSubPacket # putList :: [SigSubPacket] -> Put #
Binary SignaturePayload # |
Methods put :: SignaturePayload -> Put # get :: Get SignaturePayload # putList :: [SignaturePayload] -> Put #
Binary S2K # |
Methods put :: S2K -> Put # get :: Get S2K # putList :: [S2K] -> Put #
Binary UserAttrSubPacket # |
Methods put :: UserAttrSubPacket -> Put # get :: Get UserAttrSubPacket # putList :: [UserAttrSubPacket] -> Put #
Binary PKPayload # |
Methods put :: PKPayload -> Put # get :: Get PKPayload # putList :: [PKPayload] -> Put #
Binary Pkt # |
Methods put :: Pkt -> Put # get :: Get Pkt # putList :: [Pkt] -> Put #
Binary OtherPacket # |
Methods put :: OtherPacket -> Put # get :: Get OtherPacket # putList :: [OtherPacket] -> Put #
Binary ModificationDetectionCode # |
Methods put :: ModificationDetectionCode -> Put # get :: Get ModificationDetectionCode # putList :: [ModificationDetectionCode] -> Put #
Binary SymEncIntegrityProtectedData # |
Methods put :: SymEncIntegrityProtectedData -> Put # get :: Get SymEncIntegrityProtectedData # putList :: [SymEncIntegrityProtectedData] -> Put #
Binary UserAttribute # |
Methods put :: UserAttribute -> Put # get :: Get UserAttribute # putList :: [UserAttribute] -> Put #
Binary PublicSubkey # |
Methods put :: PublicSubkey -> Put # get :: Get PublicSubkey # putList :: [PublicSubkey] -> Put #
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 # |
Methods put :: LiteralData -> Put # get :: Get LiteralData # putList :: [LiteralData] -> Put #
Binary Marker # |
Methods put :: Marker -> Put # get :: Get Marker # putList :: [Marker] -> Put #
Binary SymEncData # |
Methods put :: SymEncData -> Put # get :: Get SymEncData # putList :: [SymEncData] -> Put #
Binary CompressedData # |
Methods put :: CompressedData -> Put # get :: Get CompressedData # putList :: [CompressedData] -> Put #
Binary SecretSubkey # |
Methods put :: SecretSubkey -> Put # get :: Get SecretSubkey # putList :: [SecretSubkey] -> Put #
Binary PublicKey # |
Methods put :: PublicKey -> Put # get :: Get PublicKey # putList :: [PublicKey] -> Put #
Binary SecretKey # |
Methods put :: SecretKey -> Put # get :: Get SecretKey # putList :: [SecretKey] -> Put #
Binary OnePassSignature # |
Methods put :: OnePassSignature -> Put # get :: Get OnePassSignature # putList :: [OnePassSignature] -> Put #
Binary SKESK # |
Methods put :: SKESK -> Put # get :: Get SKESK # putList :: [SKESK] -> Put #
Binary Signature # |
Methods put :: Signature -> Put # get :: Get Signature # putList :: [Signature] -> Put #
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 #