Constructors
constructor
- new BBSSignatureParams(params, label?): BBSSignatureParams
Parameters
- params: BbsSigParams
Optional
label: Uint8Array
Properties
Optional
label
label?: Uint8Array
Methods
adapt
- adapt(newMsgCount): this
Returns this
commitToMessages
- commitToMessages(messageToCommit, encodeMessages): Uint8Array
Parameters
- messageToCommit: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
commitToMessagesConstantTime
- commitToMessagesConstantTime(messageToCommit, encodeMessages): Uint8Array
Parameters
- messageToCommit: Map<number, Uint8Array>
- encodeMessages: boolean
Returns Uint8Array
getParamsForIndices
- getParamsForIndices(indices): Uint8Array[]
Returns Uint8Array[]
isValid
- isValid(): boolean
Returns boolean
isValidIndex
- isValidIndex(index): boolean
Returns boolean
supportedMessageCount
- supportedMessageCount(): number
Returns number
toBytes
- toBytes(): Uint8Array
Returns Uint8Array
toJSON
- toJSON(): string
Returns string
Static
generate
- generate(numMessages, label?): BBSSignatureParams
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): BbsSigParams
Returns BbsSigParams
BBS
signature parameters.