Ahmet-Kaplan / xades4j

Automatically exported from code.google.com/p/xades4j
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Verification Problem #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a problem with verify signature.
I wrote file.txt with my certificate. I created new KeyStore and added my 
certificate. When i try verify signature with xades4j, app catch exception 
XMLSecurityException in XadesVerifierImpl class during creating new 
XMLSignature object in line 114.

I have a message "Cannot create a null:null from a 
http://www.w3.org/2000/09/xmldsig#:Signature element"

Maybe I do something wrong. Can you paste a example of verify signature.
I use detached signature file: file.txt and file.txt.xades

Original issue reported on code.google.com by michal.m...@gmail.com on 27 May 2014 at 12:03

GoogleCodeExporter commented 9 years ago
Hi. This doesn't seem an issue with the library. You should use the Q&A on 
stackoverflow.

Anyway, what do you mean by "I wrote file.txt with my certificate"?
What else have you tried? Go through the docs and the library tests for 
examples. 

Note: xades4j only supports detached signatures over external resources, not 
over cross document XML references.

Original comment by luis.fgoncalv on 27 May 2014 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 27 May 2014 at 1:12