[xmlsec] xmlSecCryptoAppKeyLoadMemory
Yeshwanth C
cyeshwanth at gmail.com
Mon Dec 18 21:46:00 PST 2006
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 <wsh333 at gmail.com> 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 <aleksey at aleksey.com> wrote:
> >
> > What is the binary format you get from MS API?
> >
> > Aleksey
> >
> >
> ------------------------------
>
> _______________________________________________
> xmlsec mailing listxmlsec at aleksey.comhttp://www.aleksey.com/mailman/listinfo/xmlsec
>
>
>
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20061219/7621c0b1/attachment-0002.htm
More information about the xmlsec
mailing list