Examples xml.Encryption usage examples. Encrypt a XML node with a symmetric AES128 keyDecrypt a XML node with a symmetric AES128 keyEncrypt a XML node with a generated symmetric key protected with the public RSA key within a X509 certificateDecrypt a XML node encrypted with a symmetric key protected with a private RSA key