cryptoconditions-0.2.3.0: Interledger Crypto-Conditions

Safe HaskellNone
LanguageHaskell2010

Network.CryptoConditions.Impl

Synopsis

Documentation

preimageType :: ConditionType Source #

  1. Preimage Condition

verifyPreimage :: Preimage -> Message -> Bool Source #

The preimage is assumed to be correct if it has been provided; it'll show up during URI comparison if it's wrong.

prefixType :: ConditionType Source #

  1. Prefix condition

parsePrefix :: IsCondition c => (Prefix -> Int -> c -> c) -> ParseASN1 c Source #

thresholdType :: ConditionType Source #

  1. Threshold condition

parseThreshold :: IsCondition c => (Word16 -> [c] -> c) -> ParseASN1 c Source #

ed25519Type :: ConditionType Source #

  1. RSA-SHA256 Condition
  2. ED25519-SHA256 Condition