[xmlsec] Verifying a X509 file
Jürgen Urban
JuergenUrban@gmx.de
Tue, 25 Mar 2003 16:27:57 +0100 (MET)
Hello,
you should check your libxml2 version. The id is not found or parsed, I
don't know why.
> Hello Jürgen,
> Thank you for your response. I'm debugging xmlsec.c in VC++6 on win32
> platform. Program arguments are
> "verify --trusted C:\Test_Certs\GPayments.cer c:\PARes.xml" but it gives
> some error reports. Do you have an opinion about this error?
> Thanks in advance,
>
> Arda
>
> xmlsec error report is:
> xmlSecTransformStateParseUri (..\src\transforms.c:1182): error 4: xml
> operation
> failed : xmlXPtrEval(753nKonMmYHO9pww2NoJA854fgE0)
> xmlSecTransformStateCreate (..\src\transforms.c:881): error 2: xmlsec
> operation
> failed : xmlSecTransformStateParseUri(#753nKonMmYHO9pww2NoJA854fgE0)
> xmlSecReferenceRead (..\src\xmldsig.c:1602): error 2: xmlsec operation
> failed :
> xmlSecTransformStateCreate
> xmlSecSignedInfoRead (..\src\xmldsig.c:1476): error 2: xmlsec operation
> failed :
> xmlSecReferenceRead - -1
> xmlSecSignatureRead (..\src\xmldsig.c:1175): error 2: xmlsec operation
> failed :
> xmlSecSignedInfoRead - -1
> xmlSecDSigValidate (..\src\xmldsig.c:733): error 2: xmlsec operation
> failed : xm
> lSecSignatureRead - -1
>
>
> -----Original Message-----
> From: Jürgen Urban [mailto:JuergenUrban@gmx.de]
> Sent: Tuesday, March 25, 2003 10:54 AM
> To: xmlsec@aleksey.com
> Subject: Re: [xmlsec] Verifying a X509 file
>
>
> Hello,
> the X509data-node must be before the keydata-node, if you have any
> keydata-node. XMLSec verifies against the first key/certificate found.
> You need to
> load the certificate-issuer and the issuer from the issuer, until you
> reaches a
> self signed certificate.
>
> Hello Aleksey,
> > I need to validate a xml which use X509 certificate and key
> information.
> > I have a sample xml message but I couldn't validate it. I think I have
> a
> > key/certificate stating problem(xmlsec utility program also reported
> > error about that). There is a sample xml validation code in the web
> site
> > but it does not include X509 key info. I think I have to determine the
>
> > cert. key. file or directory to xmlsec library. But I dont know which
> > library functions sould I use? Can you help me about this problem
> > please?
> > (In the attachment I'm sending you a xml file which I want to
> validate)
> >
> > > Arda Tekin
> > > Software Specialist
> > > Innova IT Solutions
> > >
> > >
> > > > <<PARes.xml>>
> > >
> > >
> >
> >
> >
> -------------------------------------------------------------------------
>
> > -------
> >
> > GIZLILIK NOTU
> > Bu e-posta mesaji gizli, hassas bilgi ve/ya da ekler icerebilir. Bu
> > mesaj, mesajin alici kisminda belirtilen kullanici/kullanicilara
> > gonderilmistir. Eger mesaji yanlislikla almissaniz lutfen gondereni
> > acilen bilgilendiriniz, mesaji ve tum kopyalarini siliniz.
> > Bu mesaj bilinen tüm viruslere karsi Symantec Antivirus ile
> > taranmistir.
> >
> >
> > CONFIDENTIALITY NOTICE
> > This email may contain confidential information and/or attachments.
> This
> > email is intended for the use of the addressee only. If you receive
> this
> > email by mistake, please advise the sender immediately and delete the
> > email and any copies of it.
> > This e-mail has been scanned by Symantec Antivirus for all known
> > viruses.
> >
> >
>
> --
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
>
> _______________________________________________
> xmlsec mailing list
> xmlsec@aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec
>
>
> -------------------------------------------------------------------------
> -------
>
> GIZLILIK NOTU
> Bu e-posta mesaji gizli, hassas bilgi ve/ya da ekler icerebilir. Bu
> mesaj, mesajin alici kisminda belirtilen kullanici/kullanicilara
> gonderilmistir. Eger mesaji yanlislikla almissaniz lutfen gondereni
> acilen bilgilendiriniz, mesaji ve tum kopyalarini siliniz.
> Bu mesaj bilinen tüm viruslere karsi Symantec Antivirus ile
> taranmistir.
>
>
> CONFIDENTIALITY NOTICE
> This email may contain confidential information and/or attachments. This
> email is intended for the use of the addressee only. If you receive this
> email by mistake, please advise the sender immediately and delete the
> email and any copies of it.
> This e-mail has been scanned by Symantec Antivirus for all known
> viruses.
>
>
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!