Accessing certificate keystore

275 Views Asked by At

How can I access a certificate stored in Windows Mobile 6, through .net compact framework, I mean?

Is there something that reminds Capicom?

1

There are 1 best solutions below

1
On

Unfortunately the Compact Framework did not implement the X509Cerificate namespace. Yes, it exists in the BCL, but all of my testing indicates that there's really no implementation behind it (at least nothing useful).

We recently had need to do certificate enumeration and importing on a device and we implemented it by P/Invoking CertOpenStore, CertEnumCertificatesInStore, CertAddEncodedCertificateToStore et al, which we rolled into the SDF and it's available in the latest release.

We did not implement hashing, etc. because we simply didn't need it at the time.