aries / net.globalid.aries.utils / RxCrypto / cryptoVerify

cryptoVerify

@JvmStatic fun cryptoVerify(signerVerKey: String, message: ByteArray, signature: ByteArray): Single<Boolean>

An RX wrapper for Crypto.cryptoVerify.

Parameters

signerVerKey - is the signer's public key (i.e. verification key)

message - is the message for which to verify the signature

signature - is the signature for the message

Return
single Boolean represents if signature is valid