4 writes to CipherData
System.Configuration (2)
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
72ek.CipherData = new CipherData(); 81ed.CipherData = new CipherData();
System.Security (2)
system\security\cryptography\xml\encrypteddata.cs (1)
56this.CipherData = new CipherData();
system\security\cryptography\xml\encryptedkey.cs (1)
100this.CipherData = new CipherData();
24 references to CipherData
System.Configuration (2)
System\Configuration\RSAProtectedConfigurationProvider.cs (2)
73ek.CipherData.CipherValue = EncryptedXml.EncryptKey(symAlg.Key, rsa, UseOAEP); 82ed.CipherData.CipherValue = rgbOutput;
System.Security (22)
system\security\cryptography\xml\encrypteddata.cs (3)
57this.CipherData.LoadXml(cipherDataNode as XmlElement); 108if (this.CipherData == null) 110encryptedDataElement.AppendChild(this.CipherData.GetXml(document));
system\security\cryptography\xml\encryptedkey.cs (3)
101this.CipherData.LoadXml(cipherDataNode as XmlElement); 183if (this.CipherData == null) 185encryptedKeyElement.AppendChild(this.CipherData.GetXml(document));
system\security\cryptography\xml\encryptedxml.cs (16)
328byte[] cipherValue = GetCipherValue(encryptedData.CipherData); 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); 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); 704byte[] cipherValue = GetCipherValue(encryptedData.CipherData);