BlsSignatureScheme

external interface BlsSignatureScheme

Properties

Link copied to clipboard
abstract val lengths: CurveLengths

Functions

Link copied to clipboard
abstract fun aggregatePublicKeys(publicKeys: Array<Uint8Array>): WeierstrassPoint
Link copied to clipboard
abstract fun aggregateSignatures(signatures: Array<Uint8Array>): WeierstrassPoint
Link copied to clipboard
abstract fun getPublicKey(secretKey: Uint8Array): WeierstrassPoint
Link copied to clipboard
abstract fun hash(message: Uint8Array, DST: String = definedExternally): WeierstrassPoint
Link copied to clipboard
abstract fun verify(signature: Uint8Array, message: WeierstrassPoint, publicKey: Uint8Array): Boolean
Link copied to clipboard
abstract fun verifyBatch(signature: Uint8Array, items: Array<VerifyBatchItem>): Boolean