verifyVerificationMethod
open suspend override fun verifyVerificationMethod(method: VerificationMethod, signature: String, data: ByteArray): Boolean
Verifies signature over data with the key of method.
Supported: Ed25519 keys, as Ed25519VerificationKey2020 / Ed25519VerificationKey2018 / Multikey (publicKeyMultibase, with or without the 0xed01 multicodec prefix) or as an OKP/Ed25519 JWK (JsonWebKey2020, or any type carrying such a JWK). The signature is the raw 64-byte Ed25519 signature, encoded as multibase base58btc (z…), multibase base64url (u…), base64url, base64 or hex.
Every other key type, an undecodable key or signature, and a wrong signature return false.