Partager via


EncryptedKeyTokenManager.DefaultKeyAlgorithm Property

Gets or sets the default key algorithm for EncryptedKeyToken security tokens.

Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim encryptedKeyTokenManager1 As EncryptedKeyTokenManager

Dim returnValue As String
returnValue = encryptedKeyTokenManager1.DefaultKeyAlgorithm

Dim sampleValue As String
encryptedKeyTokenManager1.DefaultKeyAlgorithm = sampleValue

Syntax

'Declaration
Public Overrides Property DefaultKeyAlgorithm() As String
public override string DefaultKeyAlgorithm {get; set;}
public:
property virtual String^ DefaultKeyAlgorithm {
    String^ get();
    void set(String^ value);
}
override public System.String get_DefaultKeyAlgorithm();
public void set_DefaultKeyAlgorithm(System.String);
public override function get DefaultKeyAlgorithm() : String;
public override function set DefaultKeyAlgorithm(String);

Property Value

The default key algorithm for EncryptedKeyToken security tokens. The default value is AES2565, which represents the AES algorithm with 256-bit keys.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

EncryptedKeyTokenManager Class
EncryptedKeyTokenManager Members
Microsoft.Web.Services3.Security.Tokens Namespace