Constructors
constructor
- new PSSignatureParams(params, label?): PSSignatureParams
Parameters
- params: PSSigParams
Optional
label: Uint8Array
Properties
Optional
label
label?: Uint8Array
Methods
adapt
- adapt(newMsgCount): this
Returns this
getParamsForIndices
- getParamsForIndices(indices): Uint8Array[]
Returns Uint8Array[]
isValid
- isValid(): boolean
Returns boolean
isValidIndex
- isValidIndex(index): boolean
Returns boolean
messageCommitment
- messageCommitment(message, blinding, h): Uint8Array
Parameters
- message: Uint8Array
- blinding: Uint8Array
- h: Uint8Array
Returns Uint8Array
multiMessageCommitment
- multiMessageCommitment(messages, h, blinding): Uint8Array
Parameters
- messages: Uint8Array[]
- h: Uint8Array[]
- blinding: Uint8Array
Returns Uint8Array
supportedMessageCount
- supportedMessageCount(): number
Returns number
toBytes
- toBytes(): Uint8Array
Returns Uint8Array
toJSON
- toJSON(): string
Returns string
Static
generate
- generate(numMessages, label?): PSSignatureParams
Parameters
- numMessages: number
Optional
label: Uint8Array
Static
generateAsBytes
- generateAsBytes(numMessages, label?): Uint8Array
Parameters
- numMessages: number
Optional
label: Uint8Array
Returns Uint8Array
Static
getSigParamsForMsgStructure
Static
getSigParamsOfRequiredSize
Static
valueFromBytes
- valueFromBytes(bytes): PSSigParams
Returns PSSigParams
Modified Pointcheval-Sanders signature parameters used in
Coconut
.