12 references to EncryptWith
System.IdentityModel (12)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (12)
419if (reader.IsStartElement(trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI)) 424throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, rst.EncryptWith))); 755requestSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptWith, rst.EncryptWith, rst, context); 989if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.EncryptWith)) 993throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, (string)elementValue))); 996writer.WriteElementString(trustConstants.Prefix, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, (string)elementValue); 1634if (reader.IsStartElement(trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI)) 1639throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, rstr.EncryptWith))); 1792responseSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptWith, rstr.EncryptWith, rstr, context); 2043if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.EncryptWith)) 2047throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, (string)elementValue))); 2050writer.WriteElementString(trustConstants.Prefix, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, (string)elementValue);