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

Safe HaskellNone

Data.Conduit.OpenPGP.Filter

Documentation

data FilterPredicates Source

Constructors

UnifiedFilterPredicate (Expr UPredicate)

old-style filter predicate, hopefully to be deprecated

TransitionalTKFP (Exp (Reader TK) Bool)

a more flexible fp for transferable keys

TransitionalUFP (Exp (Reader Pkt) Bool)

a more flexible fp for context-less packets

data Expr a Source

Constructors

EAny 
E a 
EAnd (Expr a) (Expr a) 
EOr (Expr a) (Expr a) 
ENot (Expr a) 

data PKPVar Source

Constructors

PKPVVersion

public key version

PKPVPKA

public key algorithm

PKPVKeysize

public key size (in bits)

PKPVTimestamp

public key creation time

PKPVEOKI

public key's eight-octet key ID

PKPVTOF

public key's twenty-octet fingerprint

data PKPOp Source

Instances

Enum PKPOp 

data SPVar Source

Constructors

SPVVersion

signature packet version

SPVSigType

signature packet tyep

SPVPKA

signature packet public key algorithm

SPVHA

signature packet hash algorithm

data SPOp Source

Instances

Enum SPOp 

data OVar Source

Constructors

OVTag

OpenPGP packet tag

OVLength

packet length (length of what, though?)

data OOp Source

Instances

Enum OOp 

data OValue Source

Constructors

OInt Int 
OInteger Integer 

Instances

Eq OValue 
Ord OValue 

data UOp Source

Constructors

UEquals

(==)

ULessThan

(<)

UGreaterThan

(>)

Instances

Enum UOp 

data Exp m a whereSource

Constructors

I :: Integer -> Exp m Integer 
B :: Bool -> Exp m Bool 
S :: String -> Exp m String 
Lift :: b -> Exp m b 
Ap :: Exp m (b -> c) -> Exp m b -> Exp m c 
AnyAll :: ((b -> m Bool) -> [b] -> m Bool) -> (b -> Exp m Bool) -> Exp m [b] -> Exp m Bool 
MA :: m b -> Exp m b 

unop :: (a -> b) -> Exp m a -> Exp m bSource

binop :: (a -> a -> b) -> Exp m a -> Exp m a -> Exp m bSource