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