Condividi tramite


RSAOAEPKeyExchangeFormatter.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 rSAOAEPKeyExchangeFormatter1 As RSAOAEPKeyExchangeFormatter
rSAOAEPKeyExchangeFormatter1.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
    An 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

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