The PCCERT_CONTEXT contains a direct pointer to the DER formatted certificate. You can use that as input for type xmlSecKeyDataFormatCertDer. That will also make the public key it contains avaible.

Wouter


Yeshwanth C wrote:
typedef struct _CRYPT_BIT_BLOB {
  DWORD cbData;
  BYTE* pbData;
  DWORD cUnusedBits;
} CRYPT_BIT_BLOB,
*PCRYPT_BIT_BLOB;
Thisis one of the structures that gives u the public key
The public key is in pbData.
-yesh

On 12/18/06, *Aleksey Sanin* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    What is the binary format you get from MS API?

    Aleksey


------------------------------------------------------------------------

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to