Fulfillmentpublic class PreimageSha256Fulfillment extends Object implements Fulfillment
| Constructor | Description |
|---|---|
PreimageSha256Fulfillment(byte[] preimage) |
| Modifier and Type | Method | Description |
|---|---|---|
PreimageSha256Condition |
getCondition() |
|
byte[] |
getEncoded() |
|
byte[] |
getPreimage() |
|
ConditionType |
getType() |
|
boolean |
verify(Condition condition,
byte[] message) |
public ConditionType getType()
getType in interface Fulfillmentpublic byte[] getPreimage()
public byte[] getEncoded()
getEncoded in interface Fulfillmentpublic PreimageSha256Condition getCondition()
getCondition in interface Fulfillmentpublic boolean verify(Condition condition, byte[] message)
verify in interface FulfillmentCopyright © 2018. All rights reserved.