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

    Modifier and Type
    Method
    Description
    byte[]
    Get the serialized message bytes.
    byte[]
    Get the digest of the signable object.
  • Method Details

    • getBytes

      byte[] getBytes()
      Get the serialized message bytes. Serialized bytes can be used to recreate the object using methods on Gateway.
      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.