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