2 references to EncryptKey
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
575
ek.CipherData.CipherValue = EncryptedXml.
EncryptKey
(aes.Key, rsaPublicKey, false);
660
ek.CipherData.CipherValue = (symKey == null ? EncryptedXml.
EncryptKey
(aes.Key, rsa, false) : EncryptedXml.EncryptKey(aes.Key, symKey));