I have been given a Public Key (key.pub file) and with the use of the same, I want to encrypt XML file using my C# application.
The file is having structure as below:
-----BEGIN PUBLIC KEY-----
xxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyxxxxxxxxxxxxxxxxxxxxxx aaaaaaaaaaaaaaabbbbbbbbbbbbbbzzzzzzzzzzzzzzzzbbbbbbbbbbbbbbbbbbb yyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzuuuuuuuuuuuuuuuuaaaaaaauuu pppppppppppppppaao==
-----END PUBLIC KEY-----