Skip to content

verifyBallotSubmissionPayloadsByOption

threshold-elgamal


threshold-elgamal / threshold-elgamal/protocol / verifyBallotSubmissionPayloadsByOption

Function: verifyBallotSubmissionPayloadsByOption()

Section titled “Function: verifyBallotSubmissionPayloadsByOption()”

verifyBallotSubmissionPayloadsByOption(input): Promise<readonly VerifiedOptionBallotAggregation[]>

Verifies typed ballot-submission payloads and recomputes one aggregate tally ciphertext per manifest option.

This is the public entry point for applications that already have signature-checked ballot payloads and want the per-option verified ciphertext aggregates that feed threshold decryption.

VerifyBallotSubmissionPayloadsInput

Promise<readonly VerifiedOptionBallotAggregation[]>