RSAKeyPairGenerator was changed to avoid the use of deprecated
constructors.

The other changes were just cosmetics.