Safe Haskell | None |
---|
- data IC = IC {
- ic_ctx_params :: CtxParams
- ic_cache :: Maybe (IORef (Ctx, State))
- data CtxParams = CtxParams {
- cp_store :: Maybe FilePath
- cp_debug :: Maybe Bool
- cp_readonly :: Maybe Bool
- defaultCtxParams :: CtxParams
- defaultSettingsFilePath :: FilePath
- settingsFilePath :: String -> FilePath
- defaultKeyStoreFilePath :: FilePath
- determineCtx :: CtxParams -> IO (Ctx, State)
- establishState :: Ctx -> IO State
- newGenerator :: IO CPRNG
- readKeyStore :: Ctx -> IO KeyStore
- readSettings :: FilePath -> IO Settings
- scanEnv :: KeyStore -> IO (KeyStore, [LogEntry])
- errorIO :: String -> IO a
- logit :: Ctx -> LogEntry -> IO ()
Documentation
The parameters used to set up a KeyStore session.
CtxParams | |
|
Show CtxParams |
defaultCtxParams :: CtxParamsSource
Suitable default CtxParams
.
defaultSettingsFilePath :: FilePathSource
The default place for keystore settings (settings).
settingsFilePath :: String -> FilePathSource
Add the standard file extension to a base name (.json).
defaultKeyStoreFilePath :: FilePathSource
The default file for a keystore (keystore.json).
determineCtx :: CtxParams -> IO (Ctx, State)Source
establishState :: Ctx -> IO StateSource
Set up the keystore state.
newGenerator :: IO CPRNGSource
readKeyStore :: Ctx -> IO KeyStoreSource
readSettings :: FilePath -> IO SettingsSource
Read the JSON-encoded KeyStore settings from the named file.