Structure to send to the signer to request a blind MAC for BBDT16 scheme.

interface BBDT16BlindMacRequest {
    blindedIndices: number[];
    commitment: Uint8Array;
    revealedMessages?: Map<number, Uint8Array>;
}

Properties

blindedIndices: number[]

The messages at these indices were committed to in the commitment and are not revealed to the signer. This is expected to be sorted in ascending order

commitment: Uint8Array

The commitment to the blinded messages

revealedMessages?: Map<number, Uint8Array>

The messages which are known to the signer. Here the key is message index (as per the MACParams). This is not mandatory as the signer might already know the messages to sign. This is used when the requester wants to inform the signer of some or all of the message