AsymmetricKeyExchangeFormatter.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 asymmetricKeyExchangeFormatter1 As AsymmetricKeyExchangeFormatter
asymmetricKeyExchangeFormatter1.SetKey(key)
Syntax
'Declaration
Public MustOverride Sub SetKey( _
ByVal key As AsymmetricAlgorithm _
)
public abstract void SetKey(
AsymmetricAlgorithm key
);
public:
virtual void SetKey(
AsymmetricAlgorithm^ key
) abstract;
public abstract void SetKey(
AsymmetricAlgorithm key
);
public abstract function SetKey(
key : AsymmetricAlgorithm
) : Void;
Parameters
- key
An AsymmetricAlgorithm that is 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
AsymmetricKeyExchangeFormatter Class
AsymmetricKeyExchangeFormatter Members
Microsoft.Web.Services3.Security.Cryptography Namespace