Search
Preparing search index...
The search index is not available
electionguard
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
electionguard
SubmittedContest
Class SubmittedContest
Hierarchy
SubmittedContest
Implements
CryptoHashableElement
ElectionObjectBase
Index
Constructors
constructor
Properties
ciphertext
Accumulation
contest
Hash
contest
Id
crypto
Hash
extended
Data
proof
selections
sequence
Order
Accessors
crypto
Hash
Element
object
Id
Methods
equals
Constructors
constructor
new
Submitted
Contest
(
contestId
:
string
, sequenceOrder
:
number
, contestHash
:
ElementModQ
, selections
:
SubmittedSelection
[]
, ciphertextAccumulation
:
ElGamalCiphertext
, cryptoHash
:
ElementModQ
, proof
:
ConstantChaumPedersenProofKnownNonce
, extendedData
?:
HashedElGamalCiphertextCompat
)
:
SubmittedContest
Parameters
contestId:
string
sequenceOrder:
number
contestHash:
ElementModQ
selections:
SubmittedSelection
[]
ciphertextAccumulation:
ElGamalCiphertext
cryptoHash:
ElementModQ
proof:
ConstantChaumPedersenProofKnownNonce
Optional
extendedData:
HashedElGamalCiphertextCompat
Returns
SubmittedContest
Properties
Readonly
ciphertext
Accumulation
ciphertext
Accumulation
:
ElGamalCiphertext
Readonly
contest
Hash
contest
Hash
:
ElementModQ
Readonly
contest
Id
contest
Id
:
string
Readonly
crypto
Hash
crypto
Hash
:
ElementModQ
Optional
Readonly
extended
Data
extended
Data
?:
HashedElGamalCiphertextCompat
Readonly
proof
proof
:
ConstantChaumPedersenProofKnownNonce
Readonly
selections
selections
:
SubmittedSelection
[]
Readonly
sequence
Order
sequence
Order
:
number
Accessors
crypto
Hash
Element
get
cryptoHashElement
(
)
:
ElementModQ
Returns
ElementModQ
object
Id
get
objectId
(
)
:
string
The object_id, should be a unique string.
Returns
string
Methods
equals
equals
(
other
:
SubmittedContest
)
:
boolean
Parameters
other:
SubmittedContest
Returns
boolean
Exports
Submitted
Contest
constructor
ciphertext
Accumulation
contest
Hash
contest
Id
crypto
Hash
extended
Data
proof
selections
sequence
Order
crypto
Hash
Element
object
Id
equals
Generated using
TypeDoc
The object_id, should be a unique string.