United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-8011745 Unknown CertificateChoices
JDK-8011745 : Unknown CertificateChoices

Details
Type:
Bug
Submit Date:
2013-04-09
Status:
Resolved
Updated Date:
2013-04-26
Project Name:
JDK
Resolved Date:
2013-04-11
Component:
security-libs
OS:
Sub-Component:
java.security
CPU:
Priority:
P4
Resolution:
Fixed
Affected Versions:
6,7,8
Fixed Versions:

Related Reports
Backport:
Relates:

Sub Tasks

Description
In PKCS7::parseSignedData, while parsing the CertificateChoices (formerly ExtendedCertificateOrCertificate), we throw an exception if it's not a certificate. Maybe we should ignore unknown ones?
                                    

Comments
This was discovered when trying to solve JDK-8009636. A TSA server sends back a choice [1] object.
                                     
2013-04-10
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/1c3fff140324
User:  weijun
Date:  2013-04-11 03:10:47 +0000

                                     
2013-04-11
URL:   http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/1c3fff140324
User:  lana
Date:  2013-04-23 16:55:28 +0000

                                     
2013-04-23



Hardware and Software, Engineered to Work Together