EncryptionMethod Constructor (String)

Initializes a new instance of the EncryptionMethod class using the specified URI that represents the encryption algorithm.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim algorithm As String
Dim encryptionMethod1 As New EncryptionMethod(algorithm)

Syntax

'Declaration
Public Sub New( _
    ByVal algorithm As String _
)
public EncryptionMethod(
    string algorithm
);
public: EncryptionMethod(
    String^ algorithm
);
public EncryptionMethod(
    System.String algorithm
);
public function EncryptionMethod(
     algorithm : String
);

Parameters

  • algorithm
    A URI that represents the encryption algorithm.

Remarks

Use one of the static fields in the XmlEncryption.AlgorithmURI class to set the algorithm parameter.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

EncryptionMethod Class
Microsoft.Web.Services2.Security Namespace

Other Resources

EncryptionMethod Members