Options
All
  • Public
  • Public/Protected
  • All
Menu

Verifies a encrypted (cast) ballot record.

Hierarchy

  • VEncryptedBallotRecord

Implements

Index

Constructors

constructor

  • new VEncryptedBallotRecord(parentContext: string[], label: Uint8Array, encryptedBallot: EncryptedBallot, contestInfoArray: VContestInfo[], publicKey: ModPGroupElement, index: number): VEncryptedBallotRecord

Properties

contestInfoArray

contestInfoArray: VContestInfo[]

context

context: string[] = ...

Returns the context of this record, useful for showing the context of a verification in the record.

The context is just a list of strings, showing the tree path to the record.

encryptedBallot

encryptedBallot: EncryptedBallot

label

label: Uint8Array

publicKey

publicKey: ModPGroupElement

Methods

verify

Generated using TypeDoc