Package org.hyperledger.fabric.client
Interface Signable
- All Known Subinterfaces:
BlockAndPrivateDataEventsRequest
,BlockEventsRequest
,ChaincodeEventsRequest
,Commit
,EventsRequest<T>
,FilteredBlockEventsRequest
,Proposal
,SubmittedTransaction
,Transaction
public interface Signable
A Fabric Gateway call that can be explicitly signed. Supports off-line signing flow.
-
Method Summary
-
Method Details
-
getBytes
byte[] getBytes()Get the serialized message bytes. Serialized bytes can be used to recreate the object using methods onGateway
.- Returns:
- A serialized signable object.
-
getDigest
byte[] getDigest()Get the digest of the signable object. This is used to generate a digital signature.- Returns:
- A hash of the signable object.
-