SecurityAlgorithmSuite.Basic256 Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an algorithm suite that uses 256-bit Basic as the message encryption algorithm.
public:
static property System::ServiceModel::Security::SecurityAlgorithmSuite ^ Basic256 { System::ServiceModel::Security::SecurityAlgorithmSuite ^ get(); };
public static System.ServiceModel.Security.SecurityAlgorithmSuite Basic256 { get; }
static member Basic256 : System.ServiceModel.Security.SecurityAlgorithmSuite
Public Shared ReadOnly Property Basic256 As SecurityAlgorithmSuite
Property Value
An algorithm suite that uses 256-bit Basic as the message encryption algorithm.
Examples
The following code shows how to set AlgorithmSuite to this property.
WSHttpBinding binding = new WSHttpBinding();
binding.Security.Mode = SecurityMode.Message;
binding.Security.Message.AlgorithmSuite =
System.ServiceModel.Security.SecurityAlgorithmSuite.Basic256;
Dim binding As New WSHttpBinding()
binding.Security.Mode = SecurityMode.Message
binding.Security.Message.AlgorithmSuite = _
System.ServiceModel.Security.SecurityAlgorithmSuite.Basic256
Remarks
By default, AES-256 is used for the encryption algorithm.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.