Release Note: KeyFactory Will Reject EncodedKeySpec With Extra Bytes at the End

XMLWordPrintable

      If `KeyFactory.generatePrivate` or `KeyFactory.generatePublic` is called on a `PKCS8EncodedKeySpec` or `X509EncodedKeySpec` object that has extra bytes at the end of its ASN.1 encoding, an `InvalidKeySpecException` will be thrown. Before this code change, these extra bytes were ignored.

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

              Created:
              Updated:
              Resolved: