hackage-security-0.6.2.0: Hackage security library
Safe HaskellNone
LanguageHaskell2010

Hackage.Security.Key.Env

Synopsis

Documentation

data KeyEnv Source #

A key environment is a mapping from key IDs to the corresponding keys.

It should satisfy the invariant that these key IDs actually match the keys; see checkKeyEnvInvariant.

Instances

Instances details
Show KeyEnv Source # 
Instance details

Defined in Hackage.Security.Key.Env

ReportSchemaErrors m => FromJSON m KeyEnv Source # 
Instance details

Defined in Hackage.Security.Key.Env

Methods

fromJSON :: JSValue -> m KeyEnv Source #

Monad m => ToJSON m KeyEnv Source # 
Instance details

Defined in Hackage.Security.Key.Env

Methods

toJSON :: KeyEnv -> m JSValue Source #

Convenience constructors

The usual accessors