Partager via


ICspAsymmetricAlgorithm Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines methods that allow an AsymmetricAlgorithm class to enumerate key container information, and import and export Microsoft Cryptographic API (CAPI)–compatible key blobs.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib.Extensions (in mscorlib.Extensions.dll)

Syntax

'Declaration
Public Interface ICspAsymmetricAlgorithm
public interface ICspAsymmetricAlgorithm

The ICspAsymmetricAlgorithm type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone CspKeyContainerInfo Gets a CspKeyContainerInfo object that describes additional information about a cryptographic key pair.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone ExportCspBlob Security Critical. Exports a blob that contains the key information associated with an AsymmetricAlgorithm object.
Public methodSupported by Silverlight for Windows Phone ImportCspBlob Security Critical. Imports a blob that represents asymmetric key information.

Top

Remarks

Classes that extend the AsymmetricAlgorithm class should implement the ICspAsymmetricAlgorithm interface to enumerate key container information using a CspKeyContainerInfo object, and to import and export Microsoft Cryptographic API (CAPI)–compatible key blobs.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.