5 references to SetUpEncryption
System.ServiceModel (5)
System\ServiceModel\Security\EncryptedHeaderXml.cs (1)
168
encryptedData.
SetUpEncryption
(algorithm, new ArraySegment<byte>(source.GetBuffer(), 0, (int) source.Length));
System\ServiceModel\Security\SecurityAppliedMessage.cs (3)
258
encryptedData.
SetUpEncryption
(algorithm, helper.ExtractResult());
282
encryptedData.
SetUpEncryption
(algorithm, new ArraySegment<byte>(ms.GetBuffer(), 0, (int) ms.Length));
371
encryptedData.
SetUpEncryption
(algorithm, new ArraySegment<byte>(bodyBuffer, 0, bodyLength));
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (1)
563
encryptedData.
SetUpEncryption
(this.encryptingSymmetricAlgorithm, new ArraySegment<byte>(stream.GetBuffer(), 0, (int) stream.Length));