2 writes to SourceEncryptionToken
System.ServiceModel (2)
System\ServiceModel\Security\SendSecurityHeader.cs (2)
276
this.elementContainer.
SourceEncryptionToken
= token;
477
this.elementContainer.
SourceEncryptionToken
= null;
10 references to SourceEncryptionToken
System.ServiceModel (10)
System\ServiceModel\Security\SendSecurityHeader.cs (10)
389
if (this.elementContainer.
SourceEncryptionToken
== null)
396
SecurityKeyIdentifierClause sourceEncryptingKeyIdentifierClause = this.encryptingTokenParameters.CreateKeyIdentifierClause(this.elementContainer.
SourceEncryptionToken
, sourceEncryptingKeyReferenceStyle);
405
if (!SecurityUtils.HasSymmetricSecurityKey(elementContainer.
SourceEncryptionToken
))
413
this.AlgorithmSuite.GetKeyWrapAlgorithm(elementContainer.
SourceEncryptionToken
, out keyWrapAlgorithm, out keyWrapAlgorithmDictionaryString);
415
elementContainer.
SourceEncryptionToken
, new SecurityKeyIdentifier(sourceEncryptingKeyIdentifierClause));
423
sourceToken = elementContainer.
SourceEncryptionToken
;
629
if (elementContainer.
SourceEncryptionToken
!= null && elementContainer.
SourceEncryptionToken
!= elementContainer.SourceSigningToken && ShouldSerializeToken(encryptingTokenParameters, this.MessageDirection))
631
this.StandardsManager.SecurityTokenSerializer.WriteToken(writer, elementContainer.
SourceEncryptionToken
);
757
if (this.elementContainer.
SourceEncryptionToken
!= null)