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)
551ek.CipherData.CipherValue = EncryptedXml.EncryptKey(aes.Key, rsaPublicKey, false); 556ed.CipherData.CipherValue = EncryptData(inputElement, aes, false); 630ek.CipherData.CipherValue = (symKey == null ? EncryptedXml.EncryptKey(aes.Key, rsa, false) : EncryptedXml.EncryptKey(aes.Key, symKey)); 635ed.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)
189if (cipherData.CipherValue != null) 191return cipherData.CipherValue; 415if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 421return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (SymmetricAlgorithm)kek); 425return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (RSA)kek, fOAEP); 439if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 444return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, privateKey, fOAEP); 491if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 496return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, symAlg);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
80toDecrypt = new MemoryStream(cipherDataObj.CipherValue!);