cryptoconditions-0.2.3.0: Interledger Crypto-Conditions
Network.CryptoConditions
data Condition Source #
Constructors
Instances
Methods
(==) :: Condition -> Condition -> Bool #
(/=) :: Condition -> Condition -> Bool #
showsPrec :: Int -> Condition -> ShowS #
show :: Condition -> String #
showList :: [Condition] -> ShowS #
toJSON :: Condition -> Value #
toEncoding :: Condition -> Encoding #
toJSONList :: [Condition] -> Value #
toEncodingList :: [Condition] -> Encoding #
parseJSON :: Value -> Parser Condition #
parseJSONList :: Value -> Parser [Condition] #
getCost :: Condition -> Int Source #
getType :: Condition -> ConditionType Source #
getFingerprint :: Condition -> Fingerprint Source #
getFulfillmentASN :: Condition -> Maybe [ASN1] Source #
getSubtypes :: Condition -> Set ConditionType Source #
parseFulfillment :: Int -> ParseASN1 Condition Source #
verifyMessage :: Condition -> Message -> Bool Source #
anon :: Int -> ByteString -> Int -> Set Int -> Condition Source #
ed25519Condition :: PublicKey -> Condition Source #
preimageCondition :: ByteString -> Condition Source #
fulfillEd25519 :: PublicKey -> SecretKey -> Message -> Condition -> Condition Source #