bitcoind API rpc calls to encrypt an arbitrary message and create a script In the latest bitcoind what RPC calls can I use to:


Create a script with multiple 3 IFs and 1 checklocktimeverify. What are the arguments required here and what is the way to do it via rpc calls?
Encrypt an arbitrary message using a bitcoin pubbkey. The arguments required here will be the plaintext message obviously and the pubkey for the recipient to encrypt the message with (I know address / pubkey hash160 will not work, and whole pubkey is required).
I would recommend that you use a purpose designed encryption tool like GPG to encrypt messages. If you need to bind it to a Bitcoin address for some reason, the recipient can signmessage their PGP public key using the signmessage functionality.

Secure general encryption is a complex subject area, and any "bitcoin encryption" would almost certainly be half baked and insecure in some applications compared to a real encryption tool.  Because of this there is no support in Bitcoind for message encryption and I don't expect any to be planned.