I have a question about CertAddCertificateContextToStore() function in
CryptoAPI.
As you can see from the function name, this function adds a certificate
context, represented as CERT_CONTEXT structure, to the certificate
store.
A CERT_CONTEXT structure contains in its elements the encoded
certificate and the CERT_INFO structure which contains each element of
the certificate.
Now, what will happen if the encoded certificate and the elements in
the CERT_INFO structure are NOT consistent?
In other words, what will happen if the CERT_INFO structure contains
incorrect data?
I hope someone is familiar with CryptoAPI.
Your kind help will be appreciated.