3 writes to Message
System.ServiceModel.Primitives (3)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
336Message = SecurityVerifiedMessage = new SecurityVerifiedMessage(Message, this);
System\ServiceModel\Security\SecurityHeader.cs (1)
28Message = message ?? throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(nameof(message));
System\ServiceModel\Security\SendSecurityHeader.cs (1)
423Message = message;
24 references to Message
System.ServiceModel.Primitives (24)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (8)
236get { return Message; } 336Message = SecurityVerifiedMessage = new SecurityVerifiedMessage(Message, this); 341throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.SecurityHeaderIsEmpty), Message); 599throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.DuplicateTimestampInSecurityHeader), Message); 640throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.Format(SRP.TokenManagerCouldNotReadToken, localName, namespaceUri, valueType)), Message); 679SRP.Format(SRP.UnableToResolveKeyInfoClauseInDerivedKeyToken, tmpToken.TokenToDeriveIdentifier)), Message); 812MessageHeaderInfo header = Message.Headers[HeaderIndex]; 814Message.Headers.UnderstoodHeaders.Add(header);
System\ServiceModel\Security\SecurityHeader.cs (1)
105get { return Message.Version; }
System\ServiceModel\Security\SendSecurityHeader.cs (12)
70get { return (SecurityAppliedMessage)Message; } 397throw TraceUtility.ThrowHelperError(new InvalidOperationException(SRP.TimestampAlreadySetForSecurityHeader), Message); 400ElementContainer.Timestamp = timestamp ?? throw TraceUtility.ThrowHelperArgumentNull(nameof(timestamp), Message); 422SecurityAppliedMessage message = new SecurityAppliedMessage(Message, this, signBody, encryptBody); 542throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.TokenManagerCannotCreateTokenReference), Message); 607throw TraceUtility.ThrowHelperArgumentNull(nameof(token), Message); 611throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.TokenManagerCannotCreateTokenReference), Message); 618SRP.SigningWithoutPrimarySignatureRequiresTimestamp), Message); 626SRP.PrimarySignatureMustBeComputedBeforeSupportingTokenSignatures), Message); 631SRP.SupportingTokenSignaturesNotExpected), Message); 662throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.TokenManagerCannotCreateTokenReference), Message); 690throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.TokenManagerCannotCreateTokenReference), Message);
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (3)
101throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.ElementToSignMustHaveId), Message); 247(header.Namespace == Message.Version.Addressing.Namespace)) 408throw TraceUtility.ThrowHelperError(new MessageSecurityException(SRP.NoPartsOfMessageMatchedPartsToSign), Message);