hspkcs11-0.1: Wrapper for PKCS #11 interface

Safe HaskellNone
LanguageHaskell2010

System.Crypto.Pkcs11

Documentation

type Rv = CULong Source #

data Mech Source #

Constructors

Mech 

Instances

Storable Mech Source # 

Methods

sizeOf :: Mech -> Int #

alignment :: Mech -> Int #

peekElemOff :: Ptr Mech -> Int -> IO Mech #

pokeElemOff :: Ptr Mech -> Int -> Mech -> IO () #

peekByteOff :: Ptr b -> Int -> IO Mech #

pokeByteOff :: Ptr b -> Int -> Mech -> IO () #

peek :: Ptr Mech -> IO Mech #

poke :: Ptr Mech -> Mech -> IO () #

getSlotList' :: Num t => Ptr b -> Bool -> Int -> IO (t, [CULong]) Source #

openSession' :: (Num t, Num t1, Integral a, Integral a1) => Ptr b -> a1 -> a -> IO (t1, t) Source #

findObjects' :: Num t => Ptr b -> CULong -> Int -> IO (t, [CULong]) Source #

_pokeValues :: [Attribute] -> Ptr () -> IO () Source #

withSession :: Library -> Int -> Int -> (Session -> IO a) -> IO a Source #