Partager via


KeyAlgorithm.VerifyValidAlgorithm Method

Verifies the specified algorithm is valid.

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

Usage

'Usage
Dim algorithm As String
KeyAlgorithm.VerifyValidAlgorithm(algorithm)

Syntax

'Declaration
Public Shared Sub VerifyValidAlgorithm( _
    ByVal algorithm As String _
)
public static void VerifyValidAlgorithm(
    string algorithm
);
public:
static void VerifyValidAlgorithm(
    String^ algorithm
);
public static void VerifyValidAlgorithm(
    System.String algorithm
);
public static function VerifyValidAlgorithm(
     algorithm : String
) : Void;

Parameters

  • algorithm
    A String that represents a key algorithm.

Exceptions

Exception type Condition
ArgumentException

algorithm is not valid.

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

KeyAlgorithm Class
KeyAlgorithm Members
Microsoft.Web.Services3.Security.Cryptography Namespace