Condividi tramite


RSA15EncryptionFormatter.SetKey Method

Sets the key.

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

Usage

'Usage
Dim key As AsymmetricAlgorithm
Dim rSA15EncryptionFormatter1 As RSA15EncryptionFormatter
rSA15EncryptionFormatter1.SetKey(key)

Syntax

'Declaration
Public Overrides Sub SetKey( _
    ByVal key As AsymmetricAlgorithm _
)
public override void SetKey(
    AsymmetricAlgorithm key
);
public:
virtual void SetKey(
    AsymmetricAlgorithm^ key
) override;
public override void SetKey(
    AsymmetricAlgorithm key
);
public override function SetKey(
     key : AsymmetricAlgorithm
) : Void;

Parameters

  • key
    A RSA that represents the key.

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

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