Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetTransferActionMetadata ¶
SetTransferActionMetadata extracts the transfer metadata from the passed attributes and sets them to the passed metadata
Types ¶
type Backend ¶
type Backend struct {
// Ledger to access the ledger state
Ledger driver.GetStateFnc
// signed Message
Message []byte
// Cursor is used to iterate over the signatures
Cursor int
// signatures on Message
Sigs [][]byte
}
func NewBackend ¶
func NewBackend(ledger driver.GetStateFnc, message []byte, sigs [][]byte) *Backend
func (*Backend) HasBeenSignedBy ¶
HasBeenSignedBy checks if a given Message has been signed by the signing identity matching the passed verifier
func (*Backend) Signatures ¶
Click to show internal directories.
Click to hide internal directories.