JDK-8011745 : Unknown CertificateChoices
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 6,7,8
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-04-09
  • Updated: 2017-08-29
  • Resolved: 2013-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8
6u171Fixed 7u40Fixed 8 b87Fixed
Related Reports
Relates :  
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
sun/security/pkcs/pkcs7/UnknownCertificateChoices.java passed from B86 - B95 in jdk8
25-06-2013

This was discovered when trying to solve JDK-8009636. A TSA server sends back a choice [1] object.
10-04-2013