Module-level declarations
This module contains support for provider multi key authentication. A provider can have one or more keys and also define a threshold for keys required to sign a operation.
The module is shared between DC and EC, with data synced over icmf from DC to EC.
Functions
Adds a key for provider if not already exists. If this is the first key of this role, then the default threshold is set to 1.
Revoke a key for provider.
Sets the required threshold for a specific provider key role. The threshold is the same as for voting consensus (majority, super-majority or fixed number)
Find provider by auth key.
Checks if transactions is signed by keys belonging to provider_pubkey. Will require the threshold of signer keys of the given key role to be valid.
Checks if transactions is signed by keys belonging to provider_pubkey. Will require the threshold of signer keys of the given key role to be valid.