Digital signature in c# without using BouncyCastle

前端 未结 2 1272
傲寒
傲寒 2020-11-30 14:12

Without using 3rd party BouncyCastle library, is there a way to read a custom private key and sign the message ? (sha256 hash+encryption using private key)<

2条回答
  •  生来不讨喜
    2020-11-30 14:57

    Microsoft provides a class SignedXML to sign files. To know more, checkout https://msdn.microsoft.com/en-us/library/system.security.cryptography.xml.signedxml(v=vs.110).aspx

提交回复
热议问题