5 writes to CipherValue
System.Security.Cryptography.Xml (5)
System\Security\Cryptography\Xml\CipherData.cs (1)
19
CipherValue
= cipherValue;
System\Security\Cryptography\Xml\EncryptedXml.cs (4)
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);
14 references to CipherValue
Microsoft.AspNetCore.DataProtection (1)
XmlEncryption\EncryptedXmlDecryptor.cs (1)
161
return DecryptKey(encryptedKey.CipherData.
CipherValue
!, privateKey, useOAEP);
System.Security.Cryptography.Xml (13)
System\Security\Cryptography\Xml\CipherData.cs (3)
44
if (
CipherValue
!= null)
81
if (
CipherValue
!= null)
84
cipherValueElement.AppendChild(document.CreateTextNode(Convert.ToBase64String(
CipherValue
)));
System\Security\Cryptography\Xml\EncryptedXml.cs (9)
192
if (cipherData.
CipherValue
!= null)
194
return cipherData.
CipherValue
;
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);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
80
toDecrypt = new MemoryStream(cipherDataObj.
CipherValue
!);