aries / net.globalid.aries.utils / RxCrypto / cryptoSign

cryptoSign

@JvmStatic fun cryptoSign(wallet: Wallet, signerVerKey: String, data: ByteArray): Single<ByteArray>

An RX wrapper for Crypto.cryptoSign.

Parameters

wallet - is the wallet

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

data - is a byte array holding the data to be signed

Return
single ByteArray holding the signed data