06e5e105ee
There are differences between the NIST standard and RFC 8017. NIST requires d < lcm(p-1, q-1), RFC 8017 only requires d < n jdk does follows RFC 8017, but not the NIST standard. Adding a test for PKCS8 encoding and decoding. BouncyCastle returns an OpenSSLRSAPrivateKey instead of OpenSSLRSAPrivateCrtKey Moving test vectors that were previously excluded because the were causing runtime exceptions. This was b/32656910 All SpongyCastle tests fail. This is likely not caused by this CL. The old SpongyCastle version in google3 is likely not compatible with some jdk11 feature. NOKEYCHECK=True PiperOrigin-RevId: 282341997 GitOrigin-RevId: 1ee6a7df7d8ec6ca612ccc349fcea0e9a9f4f273