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

Accept unknown PKCS #9 attributes

    XMLWordPrintable

Details

    • b87
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: