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

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

XMLWordPrintable

    • 1.2beta2
    • sparc
    • solaris_2.5.1
    • Not verified

      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.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: