[xmlsec] Trouble by verification

Jürgen Heiss jheiss at Mesonic.com
Fri Aug 25 00:52:23 PDT 2006


Is there a way to get the certificate using the commandline tool? 

-----Original Message-----
From: Jürgen Heiss 
Sent: Freitag, 25. August 2006 08:48
To: 'Aleksey Sanin'
Cc: xmlsec at aleksey.com
Subject: RE: [xmlsec] Trouble by verification

Hi Aleksey,

Well with the commandline tool it works fine ;o) But can you tell me please how I can get the x509 Cert now?

Before I use

xmlSecKeyDataPtr tmp = (xmlSecKeyDataPtr)xmlSecPtrListGetItem(key->dataList, pos); PCCERT_CONTEXT x509 = xmlSecMSCryptoKeyDataX509GetCert(tmp,pos); 

But how I can use this if key->dataList == NULL?
Is there an other way the get the x509 cert?

-----Original Message-----
From: Aleksey Sanin [mailto:aleksey at aleksey.com]
Sent: Donnerstag, 24. August 2006 17:20
To: Jürgen Heiss
Cc: xmlsec at aleksey.com
Subject: Re: [xmlsec] Trouble by verification

For simplest case, yes. But you might want to take a look at the help

http://www.aleksey.com/xmlsec/xmlsec-man.html

Aleksey

Jürgen Heiss wrote:
> How is the command for the command line tool?
> 
> Xmlsec --verify filename
>  
> 
> -----Original Message-----
> From: Aleksey Sanin [mailto:aleksey at aleksey.com]
> Sent: Donnerstag, 24. August 2006 17:17
> To: Jürgen Heiss
> Cc: xmlsec at aleksey.com
> Subject: Re: [xmlsec] Trouble by verification
> 
>  > Note that at this point
>  > hindsight.signKey->dataList == NULL !
> 
> Well, it might be OK because your key has a name and a value only. There is nothing to put in the dataList.
> 
> Please, try to verify your signature with xmlsec command line tool!
> 
> Aleksey
> 
> 
> 
> 
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec





More information about the xmlsec mailing list