3

Is it possible to import DER encoded public key using MS crypto API? So i can verfiy signatures ? I need a piece of code or help for MS Crypto API for importing DER encoded public-key/certificate.

jww
  • 97,681
  • 90
  • 411
  • 885
Ali
  • 151
  • 3
  • 11

1 Answers1

2

Following three steps will allow you to import your public key certificate

  1. Get the certificate context using CertCreateCertificateContext

  2. Open the other people certificate store with CertOpenStore for ADDRESSBOOK

  3. Add the certificate context to the other people certificate store using CertAddCertificateContextToStore

Raj
  • 1,113
  • 1
  • 17
  • 34