Thank you very much for the reply and the code. It's exactly what I needed. There is a slight problem with calling sbStrToXMLCh() on the safeBuffer. In the WinCAPICryptoX509 constructor, the buffer type in the safeBuffer is never set, so it stays BUFFER_UNKNOWN, which causes the sbStrToXMLCh function to throw an exception. Changing the type to BUFFER_CHAR fixes the problem. As a certificate novice, I'm not sure what the correct behavior is. I will open a new thread to address it. Thanks again for the help! Kelly |
- Standard for embedding KeyInfo Kelly Graus
- RE: Standard for embedding KeyInfo Scott Cantor
- Re: Standard for embedding KeyInfo Kelly Graus
- RE: Standard for embedding KeyInfo Scott Cantor
- Re: Standard for embedding KeyInfo Kelly Graus
- Re: Standard for embedding KeyInfo Arshad Noor
