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