Class BBSPlusSignatureParamsG2
Constructors
constructor
- new BBSPlusSignatureParamsG2(params, label?): BBSPlusSignatureParamsG2
Parameters
- params: BbsPlusSigParams
Optional
label: Uint8Array
Properties
Optional
label
label?: Uint8Array
value
value: BbsPlusSigParams
Methods
adapt
- adapt(newMsgCount): this
Returns this
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
generateAsBytes
- generateAsBytes(numMessages, label?): Uint8Array
Parameters
- numMessages: number
Optional
label: Uint8Array
Returns Uint8Array
Static
valueFromBytes
- valueFromBytes(bytes): BbsPlusSigParams
Returns BbsPlusSigParams
BBS+
Signature parameters inG2
.