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

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