RE: [xmlsec] RE: Need urgent help for verify

2006-06-02 Thread Jürgen Heiss
Hi, Is there a way to load a PCCERT_CONTEXT into the KeyManager? For example something like. xmlSecPtrListAdd( PCCERT_CONTEXT,)? Thanks Jürgen ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

RE: [xmlsec] RE: Need urgent help for verify

2006-06-02 Thread Jürgen Heiss
-Original Message- From: Jürgen Heiss Sent: Freitag, 02. Juni 2006 11:26 To: 'xmlsec@aleksey.com' Subject: RE: [xmlsec] RE: Need urgent help for verify Hi, Is there a way to load a PCCERT_CONTEXT into the KeyManager? For example something like. xmlSecPtrListAdd( PCCERT_CONTEXT

Re: [xmlsec] RE: Need urgent help for verify

2006-06-02 Thread Aleksey Sanin
Is there also a way to load the root cert into the keymanager if the root cert is already in one PCCERT_CONTEXT struct? xmlSecMSCryptoX509StoreAdoptCert() Aleksey ___ xmlsec mailing list xmlsec@aleksey.com

RE: [xmlsec] RE: Need urgent help for verify

2006-06-01 Thread Jürgen Heiss
: Re: [xmlsec] RE: Need urgent help for verify Yes xmlSecDSigCtx::keyInfoReadCtx-enabledKeyData xmlSecDSigCtx::keyInfoWriteCtx-enabledKeyData Aleksey [EMAIL PROTECTED] wrote: Yes you are right !!! I forgot about that. You mean the --enabled-key-data list in the command line utility

RE: [xmlsec] RE: Need urgent help for verify

2006-06-01 Thread Edward Shallow
; [EMAIL PROTECTED]; xmlsec@aleksey.com Subject: RE: [xmlsec] RE: Need urgent help for verify Hi everybody, Well you are right, its really the Keyname. So if I remove the Keyname it works. But of course the document isn't anymore valid. Is there a way always to ignore the keyname and use

RE: [xmlsec] RE: Need urgent help for verify

2006-06-01 Thread Jürgen Heiss
the document was signed. Thanks Jürgen -Original Message- From: Edward Shallow [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 01. Juni 2006 12:30 To: Jürgen Heiss; 'Aleksey Sanin'; xmlsec@aleksey.com Subject: RE: [xmlsec] RE: Need urgent help for verify What do you mean the document

RE: [xmlsec] RE: Need urgent help for verify

2006-06-01 Thread Edward Shallow
? Ed -Original Message- From: Jürgen Heiss [mailto:[EMAIL PROTECTED] Sent: June 1, 2006 6:53 AM To: [EMAIL PROTECTED]; Aleksey Sanin; xmlsec@aleksey.com Subject: RE: [xmlsec] RE: Need urgent help for verify Ups I think I don't understand something. I call the function

[xmlsec] RE: Need urgent help for verify

2006-05-31 Thread Jürgen Heiss
Does really now one have any idea? Hi, I use the following code to verify a signed file. The problem is now, the xmlSecDSigCtxVerify crahses if the certificate isn't installed on my machine!?! How can I check this file? Can I excract the certificate and load it into a xmlSecKeysMngrPtr?

Re: [xmlsec] RE: Need urgent help for verify

2006-05-31 Thread ed.shallow
ay, May 31, 2006 11:54:26 AMSubject: Re: [xmlsec] RE: Need urgent help for verify I would wager, but Alexsey is the expert, that it might be a good idea to ignore the KeyName if an X509Certificate is present when Verifying. After all the reason it got there in the first place is that it was used

Re: [xmlsec] RE: Need urgent help for verify

2006-05-31 Thread Aleksey Sanin
Does it not make sense to check X509Certificate first ? Or must we consciously remove KeyName to avoid problems in the mscrypto world where the chances of actually having the public verification certificate in the verifiers mscrypto store is remote at best ? I think, that either signer or