hackage-security-0.6.2.3: Hackage security library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hackage.Security.Key.Env

Synopsis

Documentation

data KeyEnv #

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 # 
Instance details

Defined in Hackage.Security.Key.Env

Methods

showsPrec :: Int -> KeyEnv -> ShowS

show :: KeyEnv -> String

showList :: [KeyEnv] -> ShowS

ReportSchemaErrors m => FromJSON m KeyEnv # 
Instance details

Defined in Hackage.Security.Key.Env

Methods

fromJSON :: JSValue -> m KeyEnv #

Monad m => ToJSON m KeyEnv # 
Instance details

Defined in Hackage.Security.Key.Env

Methods

toJSON :: KeyEnv -> m JSValue #

Convenience constructors

The usual accessors

null :: KeyEnv -> Bool #

lookup :: KeyId -> KeyEnv -> Maybe (Some PublicKey) #