ICspAsymmetricAlgorithm Interface

Definition

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

C#
public interface ICspAsymmetricAlgorithm
C#
[System.Runtime.InteropServices.ComVisible(true)]
public interface ICspAsymmetricAlgorithm
Derived
Attributes

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.

Properties

CspKeyContainerInfo

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

Methods

ExportCspBlob(Boolean)

Exports a blob that contains the key information associated with an AsymmetricAlgorithm object.

ImportCspBlob(Byte[])

Imports a blob that represents asymmetric key information.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1