5 writes to CipherValue
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\CipherData.cs (1)
19CipherValue = cipherValue;
System\Security\Cryptography\Xml\EncryptedXml.cs (4)
550ek.CipherData.CipherValue = EncryptedXml.EncryptKey(aes.Key, rsaPublicKey, false); 555ed.CipherData.CipherValue = EncryptData(inputElement, aes, false); 629ek.CipherData.CipherValue = (symKey == null ? EncryptedXml.EncryptKey(aes.Key, rsa, false) : EncryptedXml.EncryptKey(aes.Key, symKey)); 634ed.CipherData.CipherValue = EncryptData(inputElement, aes, false);
14 references to CipherValue
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlDecryptor.cs (1)
161return DecryptKey(encryptedKey.CipherData.CipherValue!, privateKey, useOAEP);
System.Security.Cryptography.Xml (13)
System\Security\Cryptography\Xml\CipherData.cs (3)
44if (CipherValue != null) 81if (CipherValue != null) 84cipherValueElement.AppendChild(document.CreateTextNode(Convert.ToBase64String(CipherValue)));
System\Security\Cryptography\Xml\EncryptedXml.cs (9)
188if (cipherData.CipherValue != null) 190return cipherData.CipherValue; 414if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 420return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (SymmetricAlgorithm)kek); 424return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (RSA)kek, fOAEP); 438if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 443return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, privateKey, fOAEP); 490if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 495return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, symAlg);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
80toDecrypt = new MemoryStream(cipherDataObj.CipherValue!);