hOpenPGP-2.5.5: 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 Source #

getSecretKey :: PKPayload -> Get SKey Source #

# Utilities

parsePkts :: ByteString -> [Pkt] Source #

Parse the packets from a ByteString, with no error reporting

# Orphan instances

Binary SymmetricAlgorithm Source # |
Methods put :: SymmetricAlgorithm -> Put # get :: Get SymmetricAlgorithm # putList :: [SymmetricAlgorithm] -> Put #
Binary PubKeyAlgorithm Source # |
Methods put :: PubKeyAlgorithm -> Put # get :: Get PubKeyAlgorithm # putList :: [PubKeyAlgorithm] -> Put #
Binary HashAlgorithm Source # |
Methods put :: HashAlgorithm -> Put # get :: Get HashAlgorithm # putList :: [HashAlgorithm] -> Put #
Binary CompressionAlgorithm Source # |
Methods put :: CompressionAlgorithm -> Put # get :: Get CompressionAlgorithm # putList :: [CompressionAlgorithm] -> Put #
Binary SigType Source # |
Methods put :: SigType -> Put # get :: Get SigType # putList :: [SigType] -> Put #
Binary MPI Source # |
Methods put :: MPI -> Put # get :: Get MPI # putList :: [MPI] -> Put #
Binary SigSubPacket Source # |
Methods put :: SigSubPacket -> Put # get :: Get SigSubPacket # putList :: [SigSubPacket] -> Put #
Binary SignaturePayload Source # |
Methods put :: SignaturePayload -> Put # get :: Get SignaturePayload # putList :: [SignaturePayload] -> Put #
Binary S2K Source # |
Methods put :: S2K -> Put # get :: Get S2K # putList :: [S2K] -> Put #
Binary UserAttrSubPacket Source # |
Methods put :: UserAttrSubPacket -> Put # get :: Get UserAttrSubPacket # putList :: [UserAttrSubPacket] -> Put #
Binary PKPayload Source # |
Methods put :: PKPayload -> Put # get :: Get PKPayload # putList :: [PKPayload] -> Put #
Binary Pkt Source # |
Methods put :: Pkt -> Put # get :: Get Pkt # putList :: [Pkt] -> Put #
Binary OtherPacket Source # |
Methods put :: OtherPacket -> Put # get :: Get OtherPacket # putList :: [OtherPacket] -> Put #
Binary ModificationDetectionCode Source # |
Methods put :: ModificationDetectionCode -> Put # get :: Get ModificationDetectionCode # putList :: [ModificationDetectionCode] -> Put #
Binary SymEncIntegrityProtectedData Source # |
Methods put :: SymEncIntegrityProtectedData -> Put # get :: Get SymEncIntegrityProtectedData # putList :: [SymEncIntegrityProtectedData] -> Put #
Binary UserAttribute Source # |
Methods put :: UserAttribute -> Put # get :: Get UserAttribute # putList :: [UserAttribute] -> Put #
Binary PublicSubkey Source # |
Methods put :: PublicSubkey -> Put # get :: Get PublicSubkey # putList :: [PublicSubkey] -> Put #
Binary UserId Source # |
Methods put :: UserId -> Put # get :: Get UserId # putList :: [UserId] -> Put #
Binary Trust Source # |
Methods put :: Trust -> Put # get :: Get Trust # putList :: [Trust] -> Put #
Binary LiteralData Source # |
Methods put :: LiteralData -> Put # get :: Get LiteralData # putList :: [LiteralData] -> Put #
Binary Marker Source # |
Methods put :: Marker -> Put # get :: Get Marker # putList :: [Marker] -> Put #
Binary SymEncData Source # |
Methods put :: SymEncData -> Put # get :: Get SymEncData # putList :: [SymEncData] -> Put #
Binary CompressedData Source # |
Methods put :: CompressedData -> Put # get :: Get CompressedData # putList :: [CompressedData] -> Put #
Binary SecretSubkey Source # |
Methods put :: SecretSubkey -> Put # get :: Get SecretSubkey # putList :: [SecretSubkey] -> Put #
Binary PublicKey Source # |
Methods put :: PublicKey -> Put # get :: Get PublicKey # putList :: [PublicKey] -> Put #
Binary SecretKey Source # |
Methods put :: SecretKey -> Put # get :: Get SecretKey # putList :: [SecretKey] -> Put #
Binary OnePassSignature Source # |
Methods put :: OnePassSignature -> Put # get :: Get OnePassSignature # putList :: [OnePassSignature] -> Put #
Binary SKESK Source # |
Methods put :: SKESK -> Put # get :: Get SKESK # putList :: [SKESK] -> Put #
Binary Signature Source # |
Methods put :: Signature -> Put # get :: Get Signature # putList :: [Signature] -> Put #
Binary PKESK Source # |
Methods put :: PKESK -> Put # get :: Get PKESK # putList :: [PKESK] -> Put #
Binary TK Source # |
Methods put :: TK -> Put # get :: Get TK # putList :: [TK] -> Put #
Binary a => Binary (Block a) Source # |
Methods put :: Block a -> Put # get :: Get (Block a) # putList :: [Block a] -> Put #