keystore-0.6.2.0: Managing stores of secret things

Safe HaskellNone

Data.KeyStore.KS.KS

Documentation

data KS a Source

Instances

Monad KS 
Functor KS 
Applicative KS 
MonadError Reason KS 

data Ctx Source

Constructors

Ctx 

Fields

ctx_now :: UTCTime
 
ctx_store :: FilePath
 
ctx_settings :: Settings
 

Instances

Show Ctx 
Typeable Ctx 

data State Source

Constructors

State 

Instances

Typeable State 

data LogEntry Source

Constructors

LogEntry 

Fields

le_debug :: Bool
 
le_message :: String
 

Instances

Show LogEntry 

withKey :: Name -> KS a -> KS aSource

trun :: KS a -> aSource

e2io :: E a -> IO aSource

e2ks :: E a -> KS aSource

run_ :: Ctx -> State -> KS a -> (E a, State, [LogEntry])Source

putStrKS :: String -> KS ()Source

btw :: String -> KS ()Source

debugLog :: String -> KS ()Source

catchKS :: KS a -> (Reason -> KS a) -> KS aSource

errorKS :: String -> KS aSource

lookupOpt :: Show a => Opt a -> KS aSource

storeKS :: KS FilePathSource

adjustKeyKS :: Name -> (Key -> Key) -> KS ()Source

randomRSA :: (CPRNG -> (Either Error a, CPRNG)) -> KS aSource

randomKS :: (CPRNG -> (a, CPRNG)) -> KS aSource