Add support for creating RsaEncryptor from public key

It can only be used for encryption, but that's still pretty useful.
Also published as M2.
Back to snapshot version