-
Sub-task
-
Resolution: Delivered
-
P4
-
21
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.