2 writes to CipherData
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\EncryptedData.cs (1)
47
CipherData
= new CipherData();
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
87
CipherData
= new CipherData();
23 references to CipherData
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlDecryptor.cs (1)
161
return DecryptKey(encryptedKey.
CipherData
.CipherValue!, privateKey, useOAEP);
System.Security.Cryptography.Xml (22)
System\Security\Cryptography\Xml\EncryptedData.cs (3)
48
CipherData
.LoadXml((cipherDataNode as XmlElement)!);
104
if (
CipherData
== null)
106
encryptedDataElement.AppendChild(
CipherData
.GetXml(document));
System\Security\Cryptography\Xml\EncryptedKey.cs (3)
88
CipherData
.LoadXml((cipherDataNode as XmlElement)!);
181
if (
CipherData
== null)
183
encryptedKeyElement.AppendChild(
CipherData
.GetXml(document));
System\Security\Cryptography\Xml\EncryptedXml.cs (16)
301
byte[] cipherValue = GetCipherValue(encryptedData.
CipherData
);
427
if (encryptedKey.
CipherData
== null || encryptedKey.
CipherData
.CipherValue == null)
433
return EncryptedXml.DecryptKey(encryptedKey.
CipherData
.CipherValue, (SymmetricAlgorithm)kek);
437
return EncryptedXml.DecryptKey(encryptedKey.
CipherData
.CipherValue, (RSA)kek, fOAEP);
451
if (encryptedKey.
CipherData
== null || encryptedKey.
CipherData
.CipherValue == null)
456
return EncryptedXml.DecryptKey(encryptedKey.
CipherData
.CipherValue, privateKey, fOAEP);
503
if (encryptedKey.
CipherData
== null || encryptedKey.
CipherData
.CipherValue == null)
508
return EncryptedXml.DecryptKey(encryptedKey.
CipherData
.CipherValue, symAlg);
575
ek.
CipherData
.CipherValue = EncryptedXml.EncryptKey(aes.Key, rsaPublicKey, false);
580
ed.
CipherData
.CipherValue = EncryptData(inputElement, aes, false);
660
ek.
CipherData
.CipherValue = (symKey == null ? EncryptedXml.EncryptKey(aes.Key, rsa, false) : EncryptedXml.EncryptKey(aes.Key, symKey));
665
ed.
CipherData
.CipherValue = EncryptData(inputElement, aes, false);
774
byte[] cipherValue = GetCipherValue(encryptedData.
CipherData
);