AsymmetricEncryptionFormatter.SetKey Method
Sets the key to be used for encryption.
Namespace: Microsoft.Web.Services3.Security.Cryptography
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim key As AsymmetricAlgorithm
Dim asymmetricEncryptionFormatter1 As AsymmetricEncryptionFormatter
asymmetricEncryptionFormatter1.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 used for encryption.
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
AsymmetricEncryptionFormatter Class
AsymmetricEncryptionFormatter Members
Microsoft.Web.Services3.Security.Cryptography Namespace