locked
Get public key from certificate RRS feed

  • Question

  • Hi,

    is it possible, or exists any method, how to get a public key from certificate? The class Certificate doesn't provide such method, only GetHasValue(). 

    Thanks for answer.

    Thursday, February 4, 2016 10:52 AM

Answers

  • Hello Pupino,

    Welcome to this UWP forum, please have a check this guide post to add a proper tag.

    >>is it possible, or exists any method, how to get a public key from certificate?

    As far as I know, there is not a built-in approach to extract a public key from the certificate. However, I recommend you could have a check this blog below to see if you could get the public key scuessfully:

    How to get a Cryptographic Public Key from a Certificate in a Windows Store application

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    • Proposed as answer by Fred Bao Wednesday, February 17, 2016 7:21 AM
    • Marked as answer by Fred Bao Thursday, February 18, 2016 7:20 AM
    Friday, February 5, 2016 5:58 AM