I need to parse a PEM encoded RSA private key to sign a JWT to implement Google's ReportState API in the Google Home Community app. The version of Nimbus + Jose that is available on the hub is old and doesn't have the
JWK.parseFromPemEncodedObjects method, so I would like to parse the key manually. For this I need access to the
java.security.spec.RSAPrivateKeySpec classes, which I am currently not able to import.
Please either update the version of Nimbus + Jose that is available on the hub or whitelist
PrivateKey and related classes.