The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SymmetricSecurityBindingElement::ProtectionTokenParameters Property
.NET Framework (current version)
Gets or sets the protection token parameters.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property SecurityTokenParameters^ ProtectionTokenParameters { SecurityTokenParameters^ get(); void set(SecurityTokenParameters^ value); }
Property Value
Type: System.ServiceModel.Security.Tokens::SecurityTokenParameters^The following code shows how to set this property.
// Create a SymmetricSecurityBindingElement. SymmetricSecurityBindingElement ssbe = new SymmetricSecurityBindingElement(); // Set the algorithm suite to one that uses 128-bit keys. ssbe.DefaultAlgorithmSuite = SecurityAlgorithmSuite.Basic128; // Set MessageProtectionOrder to SignBeforeEncrypt. ssbe.MessageProtectionOrder = MessageProtectionOrder.SignBeforeEncrypt; // Use a Kerberos token as the protection token. ssbe.ProtectionTokenParameters = new KerberosSecurityTokenParameters();
.NET Framework
Available since 3.0
Available since 3.0
Show: