Is anyone using the RSA BSAFE Cert-C library and storing certificates in the
MS-CryptoAPI certificate stores? I'm not talking about the using the
MS-CryptoAPI with the RSA_PROV_FULL provider, I'm talking about using the
RSA development libraries and storing certificates using the CryptoAPI db
service. Those who have used it will know what I'm talking about.
I have a problem accessing the certificates in the ROOT and CA stores. I
have a program which successfully shows all certs in the MY store, but when
I point it at the ROOT and CA stores, it barfs on the first certificate
(which is invalid, for some reason) and refuses to show me any more certs
from those stores. Calling C_SelectFirstCert returns E_ISSUER_NAME or
E_PUBLIC_KEY depending on the store. I don't care that any given cert is
invalid, I just want to get a list of all the certs, then I can work out if
each certificate is valid or not. As it is, I effectively cannot access the
certs in the store.
Any ideas on how to work around this?
Open your mind, then check out www.nexusmagazine.com