2 writes to EncryptWith
System.IdentityModel (2)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
421rst.EncryptWith = reader.ReadElementContentAsString(); 1636rstr.EncryptWith = reader.ReadElementContentAsString();
10 references to EncryptWith
System.IdentityModel (10)
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (8)
422if (!UriUtil.CanCreateValidUri(rst.EncryptWith, UriKind.Absolute)) 424throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, rst.EncryptWith))); 753if (!string.IsNullOrEmpty(rst.EncryptWith)) 755requestSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptWith, rst.EncryptWith, rst, context); 1637if (!UriUtil.CanCreateValidUri(rstr.EncryptWith, UriKind.Absolute)) 1639throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.EncryptWith, trustConstants.NamespaceURI, rstr.EncryptWith))); 1790if (!string.IsNullOrEmpty(rstr.EncryptWith)) 1792responseSerializer.WriteXmlElement(writer, trustConstants.Elements.EncryptWith, rstr.EncryptWith, rstr, context);
System\IdentityModel\SecurityTokenService.cs (2)
395request.Entropy.GetKeyBytes(), request.EncryptWith); 400requestorWrappingCredentials, request.EncryptWith);