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

Multiple byte tag not supported by ASN.1 encoding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: security-libs
    • Labels:
      None

      Description

      When the tag number (without class or P/C flags) is bigger than 30, it cannot be encoded into a single byte. Java is not aware of multiple byte tags and treats it as a single byte encoding, and thus interprets the whole BER/DER encoding wrongly.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: