Constructors Properties Accessorsbytes get bytes( ) : Uint8Array Returns Uint8Array hex get hex( ) : string Returns string length get length( ) : number Returns number MethodsStaticbbs Plus Signature Params G1 Staticbbs Plus Signature Public Key G2 bbs Plus Signature Public Key G2 ( publicKey ) : SetupParam Staticbpp Setup Params Uncompressed Staticlegosnark Proving Key Staticlegosnark Proving Key Uncompressed Staticlegosnark Verifying Key Staticlegosnark Verifying Key Uncompressed legosnark Verifying Key Uncompressed ( key ) : SetupParam Staticped Comm Key G1 Uncompressed ped Comm Key G1 Uncompressed ( commKey ) : SetupParam Parameters commKey : PederCommKeyUncompressed Staticpedersen Commitment Key G1 pedersen Commitment Key G1 ( commitmentKey ) : SetupParam Parameters commitmentKey : Uint8Array [] Staticps Signature Public Key Staticsaver Commitment Key Uncompressed saver Commitment Key Uncompressed ( commKey ) : SetupParam Staticsaver Encryption Gens Staticsaver Encryption Gens Uncompressed saver Encryption Gens Uncompressed ( encGens ) : SetupParam Staticsaver Encryption Key Uncompressed Staticsaver Proving Key Uncompressed Staticsaver Verifying Key Uncompressed Staticsmc Setup Params Uncompressed Staticsmc Setup Params With Sk Staticsmc Setup Params With Sk Uncompressed smc Setup Params With Sk Uncompressed ( params ) : SetupParam Staticvb Accumulator Mem Proving Key vb Accumulator Mem Proving Key ( provingKey ) : SetupParam Staticvb Accumulator Non Mem Proving Key vb Accumulator Non Mem Proving Key ( provingKey ) : SetupParam Staticvb Accumulator Params Staticvb Accumulator Public Key
Represents (public) setup parameters of different protocols. Different setup parameters can be wrapped in this and then a reference to this is passed to the
Statement. This is helpful when the same setup parameter needs to be passed to severalStatements as it avoids the need of having several copies of the setup parameter.