static async Task <bool> VerifySignatureCoreAsync( ISigner signer, byte[] textBytes, byte[] signatureBytes, string publicKey) { using (var dataStream = new MemoryStream(textBytes)) { bool result = await signer.VerifySignatureAsync(dataStream, signatureBytes, publicKey); return(result); } }