The Encryption class / xml.Encryption methods |
Assigns a copy of the key-encryption key to this Encryption object.
NULL is allowed, meaning that embedded symmetric keys will not be encrypted nor decrypted anymore, assuming that they have been exchanged in another way.
Only public or private RSA keys, or key-wrap keys are allowed.
Public RSA keys can encrypt but not decrypt.