C# RSA Import Public Key
问题 I need to verify the signed data. I dont know how to use the public key. public bool VerifyData(string data, string signature) { //decode signature from base 64 byte[] signatureByte = System.Convert.FromBase64String(signature); //hash data to sha256 string hashedData = ConvertToSHA256(data); byte[] hashedDataByte = System.Convert.FromBase64String(hashedData); //verify with RSA PSS string absPath = System.Web.Hosting.HostingEnvironment.MapPath("~/App_Data/TP/public"); string publicKeyString =