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

Multiple byte tag not supported by ASN.1 encoding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • None
    • security-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: