RSACryptoServiceProvider.ImportCspBlob(Byte[]) RSACryptoServiceProvider.ImportCspBlob(Byte[]) RSACryptoServiceProvider.ImportCspBlob(Byte[]) RSACryptoServiceProvider.ImportCspBlob(Byte[]) Method

Definition

Imports a blob that represents RSA key information.

public:
 virtual void ImportCspBlob(cli::array <System::Byte> ^ keyBlob);
[System.Runtime.InteropServices.ComVisible(false)]
public void ImportCspBlob (byte[] keyBlob);
abstract member ImportCspBlob : byte[] -> unit
override this.ImportCspBlob : byte[] -> unit
Public Sub ImportCspBlob (keyBlob As Byte())

Parameters

keyBlob
Byte[]

A byte array that represents an RSA key blob.

Implements

Remarks

The ImportCspBlob method initializes the key data of an RSACryptoServiceProvider object using a blob that is compatible with the unmanaged Microsoft Cryptographic API (CAPI).

Security

KeyContainerPermissionAccessEntryCollection
for permission to access a key container when importing a key. Security action: Demand. Associated enumeration: Import

Applies to

See also