[xmlsec] Help with x509 Serial

Chris Mcqueen chrismcq at jam.rr.com
Tue Oct 3 21:24:25 PDT 2006


Thanks so much for the reply, Aleksey, and for your hard work on the
xmlsec library.

I added the TmplKeyInfoAddX509Data () function, but it still only 
outputs the
X509Data block with the certificate only.  No blocks with the Issuer 
name or
serial are written out.

Could this mean I simply created the certificates wrong, i.e. w/o am 
issuer name
and serial?

Thanks again,
Chris McQueen

>
>
> Aleksey Sanin wrote:
>> http://www.aleksey.com/xmlsec/api/xmlsec-templates.html#XMLSECTMPLKEYINFOADDX509DATA 
>>
>>
>> Aleksey
>>
>
>
> Chris McQueen wrote:
>
> I am not much of a programmer, so please forgive me. I have the latest 
> version xmlsec installed on our development FC3 box (which was a task 
> in itself for me) and I have been
> stumbling along with xmlsec on a new project.
>
> I am using the example code for signing with x509 here:
>
> http://www.aleksey.com/xmlsec/api/xmlsec-examples-sign-x509.html
>
> Works great as far as it goes, but it does not put the following within
> the <X509Data> block that I need to appear to meet our vendor's
> specifications:
>
> <X509IssuerSerial>
> <X509IssuerName></X509IssuerName>
> <X509SerialNumber></X509SerialNumber>
> </X509IssuerSerial>
> What would I need to add to the sign3.c example to achieve this result?
>
> I am using openssl engine.  Thanks!
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
>
>
>



More information about the xmlsec mailing list