hOpenPGP-3.2: native Haskell implementation of OpenPGP (RFC9580)
Safe HaskellNone
LanguageHaskell2010

Data.Conduit.OpenPGP.Keyring

Synopsis

Documentation

conduitToSomeTKsEither :: forall (m :: Type -> Type). Monad m => ConduitT Pkt (Either TypedTKConduitError (Maybe SomeTK)) m () Source #

Canonical strict typed conduit with explicit parse+conversion error channel.

conduitToSomeTKsDroppingEither :: forall (m :: Type -> Type). Monad m => ConduitT Pkt (Either TypedTKConduitError (Maybe SomeTK)) m () Source #

Tolerant typed conduit (broken transferable-key chunks may be omitted), while still surfacing parse+conversion failures.

conduitToTKsEither :: forall (m :: Type -> Type). Monad m => ConduitT Pkt (Either KeyringChunkParseError (Maybe TKUnknown)) m () Source #

Deprecated: Use conduitToSomeTKsEither instead

conduitToTKsDroppingEither :: forall (m :: Type -> Type). Monad m => ConduitT Pkt (Either KeyringChunkParseError (Maybe TKUnknown)) m () Source #

Deprecated: Use conduitToSomeTKsDroppingEither instead

conduitDropErrorsAndNothings :: forall (m :: Type -> Type) e a. Monad m => ConduitT (Either e (Maybe a)) a m () Source #

sinkPublicKeyringMap :: forall (m :: Type -> Type). Monad m => ConduitT (TK 'PublicTK) Void m PublicKeyring Source #

sinkSecretKeyringMap :: forall (m :: Type -> Type). Monad m => ConduitT (TK 'SecretTK) Void m SecretKeyring Source #

publicTKToKeyring :: TK 'PublicTK -> PublicKeyring Source #

Lift a single typed TK into its kinded keyring

partitionSomeTKs :: [SomeTK] -> (PublicKeyring, SecretKeyring) Source #

Partition a list of SomeTK into homogeneous public and secret keyrings