The package's default consumer disclosure: what a signer reads and accepts before an electronic signature, in the spirit of the U.S. ESIGN Act's consumer consent (15 U.S.C. 7001(c)). It says what will be signed electronically, that the signer may sign on paper instead, that consent may be withdrawn before signing, what the signer needs to read the document, how to get a copy, and that the sender keeps the record.
A host uses it unless its Countersign.Config names another :disclosure
(%{version: pos_integer, text: String.t()}). A request stores the
version and sha256 its signer accepted, so a later change to the text
never rewrites what an earlier signer saw: change the text, bump the
version.
Paragraphs are separated by a blank line.
Summary
Functions
The disclosure as Countersign.Config holds it.
The text's paragraphs, for a page to render one by one.
The disclosure's text, paragraphs separated by a blank line.
The disclosure's version.
Functions
@spec default() :: Countersign.Config.disclosure()
The disclosure as Countersign.Config holds it.
The text's paragraphs, for a page to render one by one.
@spec sha256() :: String.t()
The SHA-256 of text/0, 64 lowercase hex characters.
@spec text() :: String.t()
The disclosure's text, paragraphs separated by a blank line.
@spec version() :: pos_integer()
The disclosure's version.