64 references to XmlEncryptionConstants
System.IdentityModel (64)
System\IdentityModel\CipherDataElement.cs (12)
43
if ( !reader.IsStartElement(
XmlEncryptionConstants
.Elements.CipherData,
XmlEncryptionConstants
.Namespace ) )
48
reader.ReadStartElement(
XmlEncryptionConstants
.Elements.CipherData,
XmlEncryptionConstants
.Namespace );
49
reader.ReadStartElement(
XmlEncryptionConstants
.Elements.CipherValue,
XmlEncryptionConstants
.Namespace );
72
writer.WriteStartElement(
XmlEncryptionConstants
.Prefix,
XmlEncryptionConstants
.Elements.CipherData,
XmlEncryptionConstants
.Namespace );
73
writer.WriteStartElement(
XmlEncryptionConstants
.Prefix,
XmlEncryptionConstants
.Elements.CipherValue,
XmlEncryptionConstants
.Namespace );
System\IdentityModel\EncryptedDataElement.cs (9)
21
XmlEncryptionConstants
.Elements.EncryptedData,
22
XmlEncryptionConstants
.Namespace );
136
if ( !reader.IsStartElement(
XmlEncryptionConstants
.Elements.EncryptedData,
XmlEncryptionConstants
.Namespace ) )
172
writer.WriteStartElement(
XmlEncryptionConstants
.Prefix,
XmlEncryptionConstants
.Elements.EncryptedData,
XmlEncryptionConstants
.Namespace );
176
writer.WriteAttributeString(
XmlEncryptionConstants
.Attributes.Id, null, Id );
181
writer.WriteAttributeString(
XmlEncryptionConstants
.Attributes.Type, null, Type );
System\IdentityModel\EncryptedKeyElement.cs (21)
49
if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.ReferenceList,
XmlEncryptionConstants
.Namespace ) )
55
if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.DataReference,
XmlEncryptionConstants
.Namespace ) )
59
if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.DataReference,
XmlEncryptionConstants
.Namespace ) )
61
string dataRef = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.Uri );
68
else if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.KeyReference,
XmlEncryptionConstants
.Namespace ) )
82
else if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.KeyReference,
XmlEncryptionConstants
.Namespace ) )
86
if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.KeyReference,
XmlEncryptionConstants
.Namespace ) )
88
string keyRef = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.Uri );
95
else if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.DataReference,
XmlEncryptionConstants
.Namespace ) )
116
if ( reader.IsStartElement(
XmlEncryptionConstants
.Elements.CarriedKeyName,
XmlEncryptionConstants
.Namespace ) )
136
if ( !reader.IsStartElement(
XmlEncryptionConstants
.Elements.EncryptedKey,
XmlEncryptionConstants
.Namespace ) )
141
_recipient = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.Recipient, null );
System\IdentityModel\EncryptedTypeElement.cs (6)
143
_id = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.Id, null);
144
_type = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.Type, null);
145
_mimeType = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.MimeType, null);
146
_encoding = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.Encoding, null);
152
if (reader.IsStartElement(
XmlEncryptionConstants
.Elements.EncryptionMethod,
XmlEncryptionConstants
.Namespace))
System\IdentityModel\EncryptionMethodElement.cs (7)
35
if ( !reader.IsStartElement(
XmlEncryptionConstants
.Elements.EncryptionMethod,
XmlEncryptionConstants
.Namespace ) )
40
_algorithm = reader.GetAttribute(
XmlEncryptionConstants
.Attributes.Algorithm, null );
65
writer.WriteStartElement(
XmlEncryptionConstants
.Prefix,
XmlEncryptionConstants
.Elements.EncryptionMethod,
XmlEncryptionConstants
.Namespace );
67
writer.WriteAttributeString(
XmlEncryptionConstants
.Attributes.Algorithm, null, _algorithm );
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (5)
49
return reader.IsStartElement(
XmlEncryptionConstants
.Elements.EncryptedKey,
XmlEncryptionConstants
.Namespace);
237
if (reader.IsStartElement(
XmlEncryptionConstants
.Elements.EncryptedKey,
XmlEncryptionConstants
.Namespace))
333
encryptedData.Type =
XmlEncryptionConstants
.EncryptedDataTypes.Element;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
757
while (reader.IsStartElement(
XmlEncryptionConstants
.Elements.EncryptedKey,
XmlEncryptionConstants
.Namespace))
2925
encryptedData.Type =
XmlEncryptionConstants
.EncryptedDataTypes.Element;
4545
encryptedData.Type =
XmlEncryptionConstants
.EncryptedDataTypes.Element;