Using v5.0.9 got this error when signing. Error: java.security.InvalidKeyException: Private keys must be instance os RSAPrivate(Crt)Key However, document is signed anyway