Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
既然RSACryptoServiceProvider.SignHash对已经散列的消息进行签名- 为什么它需要知道使用了哪种散列算法?
似乎为了使签名对接收者更有用,所使用的散列算法的 OID 包含在签名中(根据 PKCS1)。这样,就不必单独进行通信。