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