Options
All
  • Public
  • Public/Protected
  • All
Menu

Verifies a Chaum-Pedersen + CDS Proof of zero or one.

Hierarchy

  • VZeroOrOneProofRecord

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new VZeroOrOneProofRecord(parentContext: string[], label: Uint8Array, zeroProof: ChaumPedersenProof, oneProof: ChaumPedersenProof, A: ModPGroupElement, B: ModPGroupElement, K: ModPGroupElement, proofTitle: string): VZeroOrOneProofRecord

Properties

A

A: ModPGroupElement

B

B: ModPGroupElement

K

K: ModPGroupElement

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.

label

label: Uint8Array

oneProof

oneProof: ChaumPedersenProof

proofTitle

proofTitle: string

zeroProof

zeroProof: ChaumPedersenProof

Methods

verify

Generated using TypeDoc