Hi Aleksey,
Hi,
I compiled libxml2, libxslt, xmlsec, and the openssl crypto Libary as
Multithread Dll and static.
This works fine, but when I try to load the library into my application I got
the following link errors.
xmlsec.obj : error LNK2001: unresolved external symbol __imp__xmlFree
I made this defines!
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 20. März 2007 15:42
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Static compile
https://www.aleksey.com/xmlsec/api/xmlsec-notes-compiling-windows.html
#define
Hi,
Something doesn't work with the xPointer.
This is a part of my xmlfile.
dsig:Reference Id=etsi-data-reference-0-1172582018-20293312-702
Type=http://uri.etsi.org/01903/v1.1.1#SignedProperties
http://uri.etsi.org/01903/v1.1.1#SignedProperties
Of course ;o)
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Montag, 12. März 2007 16:39
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Problem with xpointer
Did you setup ID attributes properly?
http://www.aleksey.com/xmlsec/faq.html
Aleksey
Hi Aleksey,
I have one more question about card readers and token.
In the moment i use msCrypto to sign my XMl files.
I simply set the dsig:keyName and the mscrypto takes the correct certificate.
No matter if the certificate is on a chip card or an a token everything works
fine.
No I want to
Hi Alex,
Does the xmlsec Library support the the 'ecdsa-sha1' Signature Algorithm?
I'm using mscrypto but I didn't find a way the verify a xml File which was
signed with the 'ecdsa-sha1' algorithm.
Thanks in advance and best regards
Jürgen
___
Hi Alex,
Hmm, can you please tell me what I need to implant such an algorithm?
Thanks
Jürgen
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 01. März 2007 01:56
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Support for ecdsa-sha1
I forgot to tell that I'm using
mscrypto.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jürgen
HeissSent: Dienstag, 10. Oktober 2006 11:06To:
xmlsec@aleksey.comSubject: [xmlsec] problems by
xmlSecKeysMngrFindKey
I try to Find a Key
but it always returns Null.
pInit(NULL);xmlSecCryptoInit();
Also, do you get any error messages anywhere? Or the key is simply not
found?Wouter
On 10/10/06, Jürgen
Heiss [EMAIL PROTECTED]
wrote:
I forgot
to tell that I'm using mscrypto.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf
Hi,
I'm using a
ReinerSct Card Reader to sign my files. This Card reader use PinCaching.
This means if I want
to sign 3 files I only need totype in the PinCount and the PIN one time on
the CardReader.
do
{
if(xmlSecDSigCtxInitialize(dsigCtx, gKeysMngr) 0)
{fprintf(stderr, "Error:
How can I turn off Keyname lookups?
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 06. September 2006 17:32
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] (no subject)
Most likely, xmlsec finds the key in the KeyManager by the key name
Can you give me please a short example?
Thanks
Jürgen
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 07. September 2006 09:24
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] (no subject)
Search xmlsec command line utility sources
Hi,
this is a signed
file, which has a Keyvalue tag.
When I try to verify
this file the datalist is empty.
But the certificate
exists in the signed file how can i access the certificate? Any
ideas?
key =
dsigCtx.signKey;size =
xmlSecPtrListGetSize(key-dataList);sdata =
node =
xmlSecFindNode(xmlDocGetRootElement(doc), "X509Certificate",
xmlSecDSigNs);strcpy(certbase64,
node-children-content);
// so if I save
certbase64 to a file like xxx.cer it will be a valid
certifcate.
Me question is now
how can I get acces into the xmlsec on this certficate.
like
If its like this, why its works under mscrypto?
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 05. September 2006 16:29
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Problems to verify with openssl
func
Hi,
I sign an xml
template like.
xmlsec --sign
--crypto mscrypto --pkcs12 c:\cert.p12 --pwd sectret
c:\template.xml
This works fine
;o)
but how can I sign
an XMl file if I don't have the certifiacte as file? I mean if the Certifiacte
is in the windows registry or if the cert file is on
Hi,
I tried really
everthing, but I can't sing this XML-File. The file will be signed but the
Keyvalue Tags ARE EMPTY!
I use the
commandline tool: xmlsec --sign --crypto mscrypt
template.xml
Please give me a
helping hand
Thnkas
jürgen
Dummy.pfx
Description: Dummy.pfx
?xml version=1.0
, 25. August 2006 16:59
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] KeyValue by MsCrypto
So, I believe that openssl can not verify it because the KeyValue is empty...
Thus, the question is: why mscrypto does not want to write public key info into
the document?.
Do you have any
I sign like you using --pkcs12 I my pkcs12 File. But still it doen't work ;o(
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Montag, 28. August 2006 08:56
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] KeyValue by MsCrypto
No, I didn't get any
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@aleksey.com
Subject: RE: [xmlsec] Trouble by verification
Hi Aleksey,
Well with the commandline tool it works
I sign my File by using an template.
I till now works fine with mscrypto. But when I try to verify the files with
openSSL.
I got an Error. After debugging I found out that the problems are some missing
tags.
dsig:KeyValue
dsig:RSAKeyValue
17:35
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Trouble by verification
There should be an error reported. Can you put a breakpoint in the
xmlSecError() function? Can you try to verify the file using xmlsec command
line tool?
Aleksey
Jürgen Heiss wrote:
Its not directly
How is the command for the command line tool?
Xmlsec --verify filename
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 24. August 2006 17:17
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Trouble by verification
Note
Its not directly an error msg ;o(
The problem is that I get an dsig.signKey but the datalist from the signkey is
empty!
If I remove the blue lines it works!
Any idea?
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 23. August 2006 17:02
To: 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
-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
?
Where is this in the API ? in the Ctx ?
- Original Message
From: Aleksey Sanin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Jürgen Heiss [EMAIL PROTECTED]; xmlsec@aleksey.com
Sent: Wednesday, May 31, 2006 2:31:14 PM
Subject: Re: [xmlsec] RE: Need urgent help for verify
Does
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
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?
thanks for any
help.
some
code
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?
Hi Alexsey,
I'm using MsCrypto Api.
But I still have problems to load the crl ;o(
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 23. Mai 2006 03:41
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Question about Revokeliste
Aleksey
Hi,
Can someone please
tell my how the check I certificate with the revolke Liste?
How I have to load
the Revoke List and how to check?
Is there maybe an
example?
thanks
___
xmlsec mailing list
xmlsec@aleksey.com
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 02. Mai 2006 17:45
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] How to get Certificate from signed xml file
Well i find my certificate, but how to export now?
I believe you found
Hi,
How I can get the certificate from a signed xml file and save this vertificate
as a file on my local machine?
Thanks for any help
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
Hi everybody,
I sign a xml file, but how somebody can check this signature now if I give him
this file?
The signatur looks like this.
[]
dsig:Signature xmlns:dsig=http://www.w3.org/2000/09/xmldsig#;
dsig:SignedInfo
dsig:CanonicalizationMethod
Here is a signed XML file, can you try to verify this?
Thanks
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 20. April 2006 16:56
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] How to verify
I sign a xml file, but how somebody can
Hi Alexsey,
How can I make a template with refereces to three files?
For examples d:\invoice1.xml, d:\invoice2.xml;d:\invoice 3.xml?
Thanks in advance
Jürgen
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
Sorry this was an posting mistake from my side ;o(
It look like this.
?xml version=1.0 encoding=UTF-8?
dsig:Signature xmlns:dsig=http://www.w3.org/2000/09/xmldsig#;
dsig:SignedInfo
dsig:CanonicalizationMethod
Hi everbody,
I signed a document with xmlSec using an aladdin token. With the help from Ed
this works fine.
I used the command line tool.
Xmlsec sign --crypt mscrpto --output d:\signed.xml d:\template.xml
So now my question, is there a way to sign directly more files.
For example invoice1 ,
Hi
Aleksey,
Is there a way to
use XMLSec with Chip Card Readers?
thanks in
advance
Jürgen
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
Hi,
I wrote a small programm
which create a KeyManager and loads PEM Keys from
File.
Now I whant to save the
Keymanger, is this possible?
Thanks
Jürgen
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
Hi,
Is there someone who compiled the xmlsec library already as
static?
I need a static version, but I can't build one
;o(
PLEASE HELP
Thanks
Jürgen
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
Hi,
I tried to create a keypair. I works fine, but how can I write
thiskeypair to a file now? Is there dome function for
this.
short
Code
xmlSecKeyPtr key =
xmlSecKeyGenerate(xmlSecKeyDataRsaId, 512, xmlSecKeyDataTypePermanent);int
res = xmlSecKeyIsValid(key);xmlSecKeyDataPtr keydata =
Hi Aleksey,
so I compiled the
lib2xml by myself. After I tried to compile the xmlsec library once
(static)
But I still got 3
error, can you please tell me what went wrong?
Thanks,
Jürgen
Generating Code...
link.exe /nologo /LIBPATH:binaries /LIBPATH:D:\xmlsec1-1.2.9\lib /OPT:NOWIN98
Well this is what I try to do, but I seem to doesn't work ;o(
keyPair = xmlSecKeyGenerate(xmlSecKeyDataRsaId, 1024,
xmlSecKeyDataTypePrivate);
-Original Message-
From: Aleksey Sanin [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 02. Februar 2006 16:43
To: Jürgen Heiss
Cc
Hi,
I tryed to compile the xmlsec static, it compiles fine, but when I try to link
I get the following errors:
Do you have some ideas, our can I download the static library from somewhere?
Thanks in advance,
Jürgen
Linking errors
Microsoft (R) Program Maintenance Utility Version 7.10.3077
To: Jürgen Heiss
Cc: xmlsec@aleksey.com
Subject: Re: [xmlsec] Question about keypairs
libxml2_a.lib(xmlIO.obj) : error LNK2019: unresolved external symbol
_gzopen referenced in function _xmlGzfileOpen_real
...
You need to link with libgz
libxml2_a.lib(encoding.obj) : error LNK2019: unresolved
Hi,
I signed a XML-File with a dummy certificate (using the
name Mr. Max. Dummy).
The file was signed without any problem. So, the
problem is now that I don't know how to
get the information about the the certificate signer
when I verify the xml File. Is there a way to get the Certificate
48 matches
Mail list logo