makdimka077 / xades4j

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

Support Time Stamping Extended Key Usage critical parameters #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Time stamp document with TSA that has certificate with Extended Key Usage 
set to critical with Time Stamping property set
2. Try to validate such document

What is the expected output? What do you see instead?
Document should validate. Instead I get a stack trace with error indicating the 
CertPathBuilder is unable to find certificate for TimeStamp token.

What version of the product are you using? On what operating system?
revision 174, (ver. 1.3.0), Linux

Please provide any additional information below.
The OID of extension is 1.3.6.1.5.5.7.3.8 (as per 
http://tools.ietf.org/html/rfc3280.html)

Attached is patch to fix this issue

Original issue reported on code.google.com by hubert.k...@gmail.com on 4 Oct 2012 at 1:19

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by luis.fgoncalv on 11 Oct 2012 at 8:38

GoogleCodeExporter commented 9 years ago
Introduction of separate verificators for Signature and TimeStamps in patches 
from issue 55 made this patch redundant.

Original comment by hubert.k...@gmail.com on 6 Nov 2012 at 12:01