static fun verify(publicKey: PublicKey, signature: Signature, message: ByteArray, domain: Int): Boolean
(source)static fun verify(publicKey: PublicKey, signature: Signature, message: Bytes, domain: Int): Boolean
(source)
Verifies the given BLS signature against the message bytes using the public key.
publicKey
- The public key, not null
signature
- The signature, not null
message
- The message data to verify, not null
domain
- The domain value added to the message
Return
True if the verification is successful.
static fun verify(sigAndPubKey: SignatureAndPublicKey, message: ByteArray, domain: Int): Boolean
(source)
Verifies the given BLS signature against the message bytes using the public key.
sigAndPubKey
- The signature and public key, not null
message
- The message data to verify, not null
domain
- The domain value added to the message
Return
True if the verification is successful, not null
static fun verify(sigAndPubKey: SignatureAndPublicKey, message: Bytes, domain: Int): Boolean
(source)
Verifies the given BLS signature against the message bytes using the public key.
sigAndPubKey
- The public key, not null
message
- The message data to verify, not null
domain
- The domain value added to the message
Return
True if the verification is successful.