In C#, sign an xml with a x.509 certificate and check the signature

前端 未结 3 952
日久生厌
日久生厌 2020-12-04 17:19

I\'m trying to sign an XML file using a x.509 certificate, I can use the private key to sign the document and then use the CheckSignature method (it has an overload that rec

3条回答
  •  日久生厌
    2020-12-04 17:39

    Any certificate has a public and a private part. You only send around the public part. Just open any SSL enabled website in your browser, click on the padlock symbol and have a look at their certificate.

提交回复
热议问题