1 type derived from EncryptedXml
System.Configuration (1)
System\Configuration\FipsAwareEncryptedXml.cs (1)
16
class FipsAwareEncryptedXml :
EncryptedXml
{
2 instantiations of EncryptedXml
System.Security (2)
system\security\cryptography\xml\signedxml.cs (1)
180
m_exml = new
EncryptedXml
(m_containingDocument); // default processing rules
system\security\cryptography\xml\transform.cs (1)
1145
m_exml = new
EncryptedXml
(m_containingDocument); // default processing rules
113 references to EncryptedXml
System.Configuration (10)
System\Configuration\FipsAwareEncryptedXml.cs (1)
69
return string.Equals(symmetricAlgorithmUri,
EncryptedXml
.XmlEncAES256Url, StringComparison.InvariantCultureIgnoreCase);
System\Configuration\RSAProtectedConfigurationProvider.cs (9)
31
EncryptedXml
exml = null;
46
EncryptedXml
exml;
65
ed.Type =
EncryptedXml
.XmlEncElementUrl;
70
ek.EncryptionMethod = new EncryptionMethod(UseOAEP ?
EncryptedXml
.XmlEncRSAOAEPUrl :
EncryptedXml
.XmlEncRSA15Url);
73
ek.CipherData.CipherValue =
EncryptedXml
.EncryptKey(symAlg.Key, rsa, UseOAEP);
83
EncryptedXml
.ReplaceElement(inputElement, ed, true);
252
return UseFIPS ? new EncryptionMethod(
EncryptedXml
.XmlEncAES256Url) :
253
new EncryptionMethod(
EncryptedXml
.XmlEncTripleDESUrl);
System.IdentityModel (26)
System\IdentityModel\CryptoHelper.cs (4)
1024
return
EncryptedXml
.DecryptKey(wrappedKey, symmetricAlgorithm);
1044
return
EncryptedXml
.DecryptKey(wrappedKey, symmetricAlgorithm);
1062
return
EncryptedXml
.EncryptKey(keyToBeWrapped, symmetricAlgorithm);
1083
return
EncryptedXml
.EncryptKey(keyToBeWrapped, symmetricAlgorithm);
System\IdentityModel\Tokens\RsaSecurityKey.cs (6)
34
return
EncryptedXml
.DecryptKey(keyData, rsa, false);
36
return
EncryptedXml
.DecryptKey(keyData, rsa, true);
39
return
EncryptedXml
.DecryptKey(keyData, rsa, false);
51
return
EncryptedXml
.EncryptKey(keyData, rsa, false);
53
return
EncryptedXml
.EncryptKey(keyData, rsa, true);
56
return
EncryptedXml
.EncryptKey(keyData, rsa, false);
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (16)
141
case
EncryptedXml
.XmlEncRSA15Url:
142
return
EncryptedXml
.DecryptKey(keyData, rsa, false);
144
case
EncryptedXml
.XmlEncRSAOAEPUrl:
145
return
EncryptedXml
.DecryptKey(keyData, rsa, true);
149
return
EncryptedXml
.DecryptKey(keyData, rsa, true);
166
case
EncryptedXml
.XmlEncRSA15Url:
167
return
EncryptedXml
.EncryptKey(keyData, rsa, false);
169
case
EncryptedXml
.XmlEncRSAOAEPUrl:
170
return
EncryptedXml
.EncryptKey(keyData, rsa, true);
174
return
EncryptedXml
.EncryptKey(keyData, rsa, true);
205
case
EncryptedXml
.XmlEncRSA15Url:
206
case
EncryptedXml
.XmlEncRSAOAEPUrl:
231
case
EncryptedXml
.XmlEncRSA15Url:
232
case
EncryptedXml
.XmlEncRSAOAEPUrl:
503
case
EncryptedXml
.XmlEncRSA15Url:
504
case
EncryptedXml
.XmlEncRSAOAEPUrl:
System.IdentityModel.Selectors (8)
infocard\client\System\IdentityModel\Selectors\InfoCardAsymmetricCrypto.cs (8)
71
case
EncryptedXml
.XmlEncRSA15Url:
72
case
EncryptedXml
.XmlEncRSAOAEPUrl:
150
case
EncryptedXml
.XmlEncRSA15Url:
155
case
EncryptedXml
.XmlEncRSAOAEPUrl:
179
case
EncryptedXml
.XmlEncRSA15Url:
184
case
EncryptedXml
.XmlEncRSAOAEPUrl:
199
case
EncryptedXml
.XmlEncRSA15Url:
200
case
EncryptedXml
.XmlEncRSAOAEPUrl:
System.Security (69)
system\security\cryptography\xml\cipherdata.cs (3)
81
XmlElement cipherDataElement = (XmlElement)document.CreateElement("CipherData",
EncryptedXml
.XmlEncNamespaceUrl);
83
XmlElement cipherValueElement = document.CreateElement("CipherValue",
EncryptedXml
.XmlEncNamespaceUrl);
100
nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
system\security\cryptography\xml\encrypteddata.cs (7)
30
nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
33
this.Id = Utils.GetAttribute(value, "Id",
EncryptedXml
.XmlEncNamespaceUrl);
34
this.Type = Utils.GetAttribute(value, "Type",
EncryptedXml
.XmlEncNamespaceUrl);
35
this.MimeType = Utils.GetAttribute(value, "MimeType",
EncryptedXml
.XmlEncNamespaceUrl);
36
this.Encoding = Utils.GetAttribute(value, "Encoding",
EncryptedXml
.XmlEncNamespaceUrl);
87
XmlElement encryptedDataElement = (XmlElement) document.CreateElement("EncryptedData",
EncryptedXml
.XmlEncNamespaceUrl);
114
XmlElement encryptionPropertiesElement = document.CreateElement("EncryptionProperties",
EncryptedXml
.XmlEncNamespaceUrl);
system\security\cryptography\xml\encryptedkey.cs (10)
73
nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
76
this.Id = Utils.GetAttribute(value, "Id",
EncryptedXml
.XmlEncNamespaceUrl);
77
this.Type = Utils.GetAttribute(value, "Type",
EncryptedXml
.XmlEncNamespaceUrl);
78
this.MimeType = Utils.GetAttribute(value, "MimeType",
EncryptedXml
.XmlEncNamespaceUrl);
79
this.Encoding = Utils.GetAttribute(value, "Encoding",
EncryptedXml
.XmlEncNamespaceUrl);
80
this.Recipient = Utils.GetAttribute(value, "Recipient",
EncryptedXml
.XmlEncNamespaceUrl);
160
XmlElement encryptedKeyElement = (XmlElement) document.CreateElement("EncryptedKey",
EncryptedXml
.XmlEncNamespaceUrl);
189
XmlElement encryptionPropertiesElement = document.CreateElement("EncryptionProperties",
EncryptedXml
.XmlEncNamespaceUrl);
199
XmlElement referenceListElement = document.CreateElement("ReferenceList",
EncryptedXml
.XmlEncNamespaceUrl);
208
XmlElement carriedKeyNameElement = (XmlElement) document.CreateElement("CarriedKeyName",
EncryptedXml
.XmlEncNamespaceUrl);
system\security\cryptography\xml\encryptedreference.cs (6)
95
XmlElement referenceElement = document.CreateElement(ReferenceType,
EncryptedXml
.XmlEncNamespaceUrl);
111
this.Uri = Utils.GetAttribute(value, "URI",
EncryptedXml
.XmlEncNamespaceUrl);
166
XmlElement referenceElement = document.CreateElement(ReferenceType,
EncryptedXml
.XmlEncNamespaceUrl);
172
referenceElement.AppendChild(this.TransformChain.GetXml(document,
EncryptedXml
.XmlEncNamespaceUrl));
182
string uri = Utils.GetAttribute(value, "URI",
EncryptedXml
.XmlEncNamespaceUrl);
190
nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
system\security\cryptography\xml\encryptedtype.cs (9)
171
XmlElement encryptionMethodElement = (XmlElement) document.CreateElement("EncryptionMethod",
EncryptedXml
.XmlEncNamespaceUrl);
176
XmlElement keySizeElement = document.CreateElement("KeySize",
EncryptedXml
.XmlEncNamespaceUrl);
188
nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
191
m_algorithm = Utils.GetAttribute(encryptionMethodElement, "Algorithm",
EncryptedXml
.XmlEncNamespaceUrl);
216
if (elementProperty.LocalName != "EncryptionProperty" || elementProperty.NamespaceURI !=
EncryptedXml
.XmlEncNamespaceUrl)
236
if (value.LocalName != "EncryptionProperty" || value.NamespaceURI !=
EncryptedXml
.XmlEncNamespaceUrl)
265
if (value.LocalName != "EncryptionProperty" || value.NamespaceURI !=
EncryptedXml
.XmlEncNamespaceUrl)
270
m_id = Utils.GetAttribute(value, "Id",
EncryptedXml
.XmlEncNamespaceUrl);
271
m_target = Utils.GetAttribute(value, "Target",
EncryptedXml
.XmlEncNamespaceUrl);
system\security\cryptography\xml\encryptedxml.cs (26)
314
case
EncryptedXml
.XmlEncDESUrl:
315
case
EncryptedXml
.XmlEncTripleDESUrl:
318
case
EncryptedXml
.XmlEncAES128Url:
319
case
EncryptedXml
.XmlEncAES192Url:
320
case
EncryptedXml
.XmlEncAES256Url:
356
nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
435
return
EncryptedXml
.DecryptKey(encryptedKey.CipherData.CipherValue, (SymmetricAlgorithm) kek);
438
fOAEP = (encryptedKey.EncryptionMethod != null && encryptedKey.EncryptionMethod.KeyAlgorithm ==
EncryptedXml
.XmlEncRSAOAEPUrl);
439
return
EncryptedXml
.DecryptKey(encryptedKey.CipherData.CipherValue, (RSA) kek, fOAEP);
452
fOAEP = (encryptedKey.EncryptionMethod != null && encryptedKey.EncryptionMethod.KeyAlgorithm ==
EncryptedXml
.XmlEncRSAOAEPUrl);
453
return
EncryptedXml
.DecryptKey(encryptedKey.CipherData.CipherValue, privateKey, fOAEP);
495
return
EncryptedXml
.DecryptKey(encryptedKey.CipherData.CipherValue, symAlg);
537
ed.Type =
EncryptedXml
.XmlEncElementUrl;
538
ed.EncryptionMethod = new EncryptionMethod(
EncryptedXml
.XmlEncAES256Url);
542
ek.EncryptionMethod = new EncryptionMethod(
EncryptedXml
.XmlEncRSA15Url);
547
ek.CipherData.CipherValue =
EncryptedXml
.EncryptKey(aes.Key, rsaPublicKey, false);
581
ed.Type =
EncryptedXml
.XmlEncElementUrl;
582
ed.EncryptionMethod = new EncryptionMethod(
EncryptedXml
.XmlEncAES256Url);
587
encryptionMethod =
EncryptedXml
.XmlEncRSA15Url;
590
encryptionMethod =
EncryptedXml
.XmlEncTripleDESKeyWrapUrl;
595
encryptionMethod =
EncryptedXml
.XmlEncAES128KeyWrapUrl;
598
encryptionMethod =
EncryptedXml
.XmlEncAES192KeyWrapUrl;
601
encryptionMethod =
EncryptedXml
.XmlEncAES256KeyWrapUrl;
615
EncryptedXml
.EncryptKey(aes.Key, rsa, false) :
616
EncryptedXml
.EncryptKey(aes.Key, symKey);
633
nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
system\security\cryptography\xml\signedxml.cs (2)
67
private
EncryptedXml
m_exml = null;
177
public
EncryptedXml
EncryptedXml {
system\security\cryptography\xml\transform.cs (6)
1110
private
EncryptedXml
m_exml = null; // defines the XML encryption processing rules
1137
public
EncryptedXml
EncryptedXml {
1224
m_nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
1234
m_nsm.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);
1287
encryptedDataElement.NamespaceURI ==
EncryptedXml
.XmlEncNamespaceUrl) {
1449
namespaceManager.AddNamespace("enc",
EncryptedXml
.XmlEncNamespaceUrl);