9 references to EncryptionToken
System.ServiceModel (9)
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (1)
300SecurityToken encryptingToken = securityHeader.EncryptionToken;
System\ServiceModel\Security\MessageSecurityProtocol.cs (1)
446SecurityUtils.EnsureExpectedSymmetricMatch(securityHeader.SignatureToken, securityHeader.EncryptionToken, message);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (7)
884if (this.EncryptionToken != null) 888if (!(this.EncryptionToken is WrappedKeySecurityToken) || ((WrappedKeySecurityToken)this.EncryptionToken).WrappingToken != this.wrappingToken) 895if (this.EncryptionToken != expectedEncryptionToken) 900else if (this.SignatureToken != null && this.EncryptionToken != this.SignatureToken) 902throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SignatureAndEncryptionTokenMismatch, this.SignatureToken, this.EncryptionToken))); 928if (this.EncryptionToken != null)