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

DerInputBuffer.getBitString() can't read non byte-aligned BIT STRING

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.2beta2
    • CPU:
      sparc
    • OS:
      solaris_2.5.1
    • Verification:
      Not verified

      Description

      On reading the DER encoding of an ASN.1 BIT STRING whose length is not a
      multiple of 8, DerInputBuffer.getBitString() returns null.

      Non byte-aligned bitstrings occur in Verisign certificates used in Netscape signed jar signatures, so this presents an interoperability problem. In particular, non byte-aligned bitstrings are used in the KeyUsage extended attribute.

        Attachments

          Activity

            People

            Assignee:
            duke J. Duke (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: