Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8011867

Accept unknown PKCS #9 attributes

    Details

    • Subcomponent:
    • Resolved In Build:
      b87
    • Verification:
      Verified

      Backports

        Description

        We hardcoded a list of known PKCS #9 attributes inside JDK so that getValue() method can always return the correct type for one (say, String for string, ObjectIdentifier for OID). However, this means when an unknown attribute is met, an exception is thrown. It's not easy to list all attributes inside there and sometimes it's not necessary to get the actual type of an attribute unless we really need to deal with it inside the JDK.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  weijun Weijun Wang
                  Reporter:
                  weijun Weijun Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: