Udostępnij za pośrednictwem


EncryptionMethod Constructor (String)

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

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

EncryptionMethod Class
EncryptionMethod Members
Microsoft.Web.Services3.Security Namespace