Safe Haskell | None |
---|---|
Language | Haskell2010 |
Encrypted values store.
- newtype Metadata = Metadata {}
- data MetadataError = MetadataInconsistentValues ValName
- singleton :: ValName -> EncValue -> Metadata
- addCiphered :: ValName -> EncValue -> Metadata -> Either MetadataError Metadata
- getCiphered :: ValName -> Metadata -> Maybe EncValue
Documentation
Store of encrypted value indexed by ValName
.
data MetadataError Source #
Metadata-specific exceptions.
MetadataInconsistentValues ValName | Updating existing variable with different value |
addCiphered :: ValName -> EncValue -> Metadata -> Either MetadataError Metadata Source #