Skip to content
On this page

Function: bindingSigTexts()

TypeScript
function bindingSigTexts(statement: string): string[];

Defined in: verify.ts:28 (opens in a new tab)

The texts a device record's binding_sig may cover (OC Lock SPEC §3.3): its statement, and, when the statement ends in exactly one LF, the statement without it, which is what a wallet that trims the text before signing it signs. A reader tries these and no other.

ParametersLink to this section

ParameterType
statementstring

ReturnsLink to this section

string[]