keystore-0.6.3.1: Managing stores of secret things

Safe HaskellNone
LanguageHaskell2010

Data.KeyStore.IO.IC

Synopsis

Documentation

data IC Source

Constructors

IC 

data CtxParams Source

The parameters used to set up a KeyStore session.

Constructors

CtxParams 

Fields

cp_store :: Maybe FilePath

location of any explictlt specified keystore file

cp_debug :: Maybe Bool

whether debug output has been specified enabled or not

cp_readonly :: Maybe Bool

Just True => do not update keystore

Instances

defaultSettingsFilePath :: FilePath Source

The default place for keystore settings (settings).

settingsFilePath :: String -> FilePath Source

Add the standard file extension to a base name (.json).

defaultKeyStoreFilePath :: FilePath Source

The default file for a keystore (keystore.json).

determineCtx :: CtxParams -> IO (Ctx, State) Source

Determine the Ctx and keystore State from CtxParams

establishState :: Ctx -> IO State Source

Set up the keystore state.

readSettings :: FilePath -> IO Settings Source

Read the JSON-encoded KeyStore settings from the named file.

logit :: Ctx -> LogEntry -> IO () Source