I just tried it. It didnt work.
My problem is that I should sign xml with a private key taken from the
windows certificate store. Then I should take the corresponding public key
and verify the signed xml.
I have problems signing the xml as well as verifying the signed xml using
windows certificate store. I would appreciate any sample programs.
Regards
Yesh
On 12/19/06, Wouter <[EMAIL PROTECTED]> wrote:
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 <http:///>;
BYTE* pbData <http:///>;
DWORD cUnusedBits <http:///>;
} 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]> wrote:
>
> What is the binary format you get from MS API?
>
> Aleksey
>
>
------------------------------
_______________________________________________
xmlsec mailing [EMAIL PROTECTED]://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec