7 writes to CipherValue
System.Configuration (2)
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
73ek.CipherData.CipherValue = EncryptedXml.EncryptKey(symAlg.Key, rsa, UseOAEP); 82ed.CipherData.CipherValue = rgbOutput;
System.Security (5)
system\security\cryptography\xml\cipherdata.cs (1)
32this.CipherValue = cipherValue;
system\security\cryptography\xml\encryptedxml.cs (4)
547ek.CipherData.CipherValue = EncryptedXml.EncryptKey(aes.Key, rsaPublicKey, false); 552ed.CipherData.CipherValue = EncryptData(inputElement, aes, false); 614ek.CipherData.CipherValue = symKey == null ? 621ed.CipherData.CipherValue = EncryptData(inputElement, aes, false);
13 references to CipherValue
System.Security (13)
system\security\cryptography\xml\cipherdata.cs (3)
50if (this.CipherValue != null) 82if (CipherValue != null) { 84cipherValueElement.AppendChild(document.CreateTextNode(Convert.ToBase64String(CipherValue)));
system\security\cryptography\xml\encryptedxml.cs (9)
212if (cipherData.CipherValue != null) { 213return cipherData.CipherValue; 430if (!Utils.GetLeaveCipherValueUnchecked() && (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null)) { 435return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (SymmetricAlgorithm) kek); 439return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, (RSA) kek, fOAEP); 449if (!Utils.GetLeaveCipherValueUnchecked() && (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null)) { 453return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, privateKey, fOAEP); 492if (!Utils.GetLeaveCipherValueUnchecked() && (encryptedKey.CipherData == null || encryptedKey.CipherData.CipherValue == null)) { 495return EncryptedXml.DecryptKey(encryptedKey.CipherData.CipherValue, symAlg);
system\security\cryptography\xml\transform.cs (1)
1383toDecrypt = new MemoryStream(cipherDataObj.CipherValue);