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