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)
575ek.CipherData.CipherValue = EncryptedXml.EncryptKey(aes.Key, rsaPublicKey, false); 580ed.CipherData.CipherValue = EncryptData(inputElement, aes, false); 660ek.CipherData.CipherValue = (symKey == null ? EncryptedXml.EncryptKey(aes.Key, rsa, false) : EncryptedXml.EncryptKey(aes.Key, symKey)); 665ed.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)
192if (cipherData.CipherValue != null) 194return cipherData.CipherValue; 427if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 433return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (SymmetricAlgorithm)kek); 437return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (RSA)kek, fOAEP); 451if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 456return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, privateKey, fOAEP); 503if (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null) 508return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, symAlg);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
80toDecrypt = new MemoryStream(cipherDataObj.CipherValue!);