Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AsymmetricSignatureDeformatter.SetKey Method

When overridden in a derived class, sets the public key to use for verifying the signature.

[Visual Basic]
Public MustOverride Sub SetKey( _
   ByVal key As AsymmetricAlgorithm _
)
[C#]
public abstract void SetKey(
 AsymmetricAlgorithm key
);
[C++]
public: virtual void SetKey(
 AsymmetricAlgorithm* key
) = 0;
[JScript]
public abstract function SetKey(
   key : AsymmetricAlgorithm
);

Parameters

key
The instance of an implementation of AsymmetricAlgorithm that holds the public key.

Remarks

You must set a key before calling an implementation of VerifySignature.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

AsymmetricSignatureDeformatter Class | AsymmetricSignatureDeformatter Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2015 Microsoft