DSACryptoServiceProvider.ImportCspBlob Method (Byte[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Imports a blob that represents DSA key information.

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

[ComVisibleAttribute(false)]
public void ImportCspBlob(
	byte[] keyBlob
)

Parameters

keyBlob
Type: System.Byte[]

A byte array that represents a DSA key blob.

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

KeyContainerPermissionAccessEntryCollection

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

.NET Framework
Available since 2.0
Return to top
Show: