X509Certificate2 Class for Windows Phone 8

I have a certificate (base64string) in the Certificate line

I am extracting this public key from the certificate in both Windows Desktop and Windows Phone 8. To do this, I followed

X509Certificate2 Cert = new X509Certificate2(); Cert.Import(Convert.FromBase64String( Certificate, "Test123", X509KeyStorageFlags.Exportable); ClsStatic.cer = Cert; 

The above code works fine in the Desktop application. For Windows Phone 8, this class X509Certificate2 and Exportable is not available. Is there any other alternative

0
source share

Source: https://habr.com/ru/post/943515/


All Articles