EncryptWith Property

WSTrustMessage::EncryptWith Property

.NET Framework (current version)

Gets or sets the contents of the wst:EncryptWith element.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

property String^ EncryptWith {
	String^ get();
	void set(String^ value);

Property Value

Type: System::String^

A string that contains a URI that indicates the desired encryption algoritm to be used with the issued security token.

Exception Condition

An attempt to set the property to null or an empty string occurs.

This optional URI element indicates the desired encryption algorithm to be used with the issued security token.

.NET Framework
Available since 4.5
Return to top
© 2016 Microsoft