CPub.Signify.Signature (CPub v0.3.0) View Source

A mnesia table indexing valid signatures.

Link to this section Summary

Functions

Verify signature and add to index if valid.

Link to this section Functions

Specs

insert(RDF.FragmentGraph.t()) :: {:ok, any()} | :invalid_signature

Verify signature and add to index if valid.

Link to this function

insert!(fg, public_key, message)

View Source

Specs

insert!(RDF.FragmentGraph.t(), String.t(), String.t()) ::
  {:ok, any()} | {:error, any()}