Updated java encryption code sample

Changed type RSAKey to RSAPublicKey. Header is now created through a builder. replaced getKeyId with keyId because publicKey has no attribute keyId.

Merge request reports

Loading