| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.CryptoConditions
Documentation
Constructors
| Preimage Preimage | |
| Prefix Prefix Int Condition | |
| Threshold Word16 [Condition] | |
| Ed25519 PublicKey (Maybe Signature) | |
| Anon Int Fingerprint Int (Set ConditionType) |
Instances
| Eq Condition Source # | |
| Show Condition Source # | |
| ToJSON Condition Source # | |
Defined in Network.CryptoConditions | |
| FromJSON Condition Source # | |
| IsCondition Condition Source # | |
Defined in Network.CryptoConditions Methods 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 # | |