EncryptingCredentials.Algorithm Property

.NET Framework (current version)
 

Gets or sets the encryption algorithm.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public string Algorithm { get; set; }

Property Value

Type: System.String

A URI that represents the cryptographic algorithm that is used to encrypt the proof key.

Exception Condition
ArgumentException

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

.NET Framework
Available since 4.5
Return to top
Show: