docs/export library

Classes

CommercioDocHelper
Allows to easily create a CommercioDoc and perform common related operations
CommercioDocReceiptHelper
Allows to easily create a CommercioDocReceipt and perform common related operations.
DocsHelper

Functions

encryptField(CommercioDoc doc, Uint8List aesKey, Set<CommercioEncryptedData> encryptedData, List<String> recipients, Wallet wallet, {Client? client}) Future<CommercioDoc>
Transforms doc into one having the proper fields encrypted as specified inside the encryptedData list. All the fields will be encrypted using the specified aesKey. This key will later be encrypted for each and every Did specified into the recipients list. The overall encrypted data will be put inside the proper document field.

Exceptions / Errors

WalletIdentityNotFoundException