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

Safe Haskell | None
Language | Haskell2010

Codec.Encryption.OpenPGP.KeyringParser

# Documentation

parseAChunk :: (Monoid s, Show s) => Parser s r -> s -> ([(r, s)], Maybe (Maybe (r -> r), Parser s r)) -> (([(r, s)], Maybe (Maybe (r -> r), Parser s r)), [r]) Source

finalizeParsing :: Monoid s => ([(r, s)], Maybe (Maybe (r -> r), Parser s r)) -> (([(r, s)], Maybe (Maybe (r -> r), Parser s r)), [r]) Source

parseTK :: Bool -> Parser [Pkt] (Maybe TK) Source

data UidOrUat Source

Constructors

I Text |
A [UserAttrSubPacket] |

Instances

Show UidOrUat Source |

splitUs :: [(UidOrUat, [SignaturePayload])] -> ([(Text, [SignaturePayload])], [([UserAttrSubPacket], [SignaturePayload])]) Source

publicTK :: Bool -> Parser [Pkt] (Maybe TK) Source

secretTK :: Bool -> Parser [Pkt] (Maybe TK) Source

brokenTK :: Int -> Parser [Pkt] (Maybe TK) Source

pkPayload :: Parser [Pkt] (PKPayload, Maybe SKAddendum) Source

signature :: Bool -> [SigType] -> Parser [Pkt] [SignaturePayload] Source

signedUID :: Bool -> Parser [Pkt] (UidOrUat, [SignaturePayload]) Source

signedUAt :: Bool -> Parser [Pkt] (UidOrUat, [SignaturePayload]) Source

signedOrRevokedPubSubkey :: Bool -> Parser [Pkt] [(Pkt, [SignaturePayload])] Source

brokenPubSubkey :: Parser [Pkt] [(Pkt, [SignaturePayload])] Source

rawOrSignedOrRevokedSecSubkey :: Bool -> Parser [Pkt] [(Pkt, [SignaturePayload])] Source

brokenSecSubkey :: Parser [Pkt] [(Pkt, [SignaturePayload])] Source

skPayload :: Parser [Pkt] (PKPayload, Maybe SKAddendum) Source

broken :: Int -> Parser [Pkt] Pkt Source