ICspAsymmetricAlgorithm Interface

ICspAsymmetricAlgorithm Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 (in mscorlib.dll)

public interface ICspAsymmetricAlgorithm

The ICspAsymmetricAlgorithm type exposes the following members.

Public propertyCspKeyContainerInfoGets a CspKeyContainerInfo object that describes additional information about a cryptographic key pair.

Public methodExportCspBlobSecurity Critical. Exports a blob that contains the key information associated with an AsymmetricAlgorithm object.
Public methodImportCspBlobSecurity Critical. Imports a blob that represents asymmetric key information.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2017 Microsoft