29 lines
1.7 KiB
C#
29 lines
1.7 KiB
C#
using System;
|
||
using System.Runtime.InteropServices;
|
||
|
||
namespace System.Security.Cryptography
|
||
{
|
||
/// <summary>Defines methods that allow an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> class to enumerate key container information, and import and export Microsoft Cryptographic API (CAPI)–compatible key blobs.</summary>
|
||
// Token: 0x0200050A RID: 1290
|
||
[ComVisible(true)]
|
||
public interface ICspAsymmetricAlgorithm
|
||
{
|
||
/// <summary>Exports a blob that contains the key information associated with an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object. </summary>
|
||
/// <returns>A byte array that contains the key information associated with an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object.</returns>
|
||
/// <param name="includePrivateParameters">true to include the private key; otherwise, false.</param>
|
||
// Token: 0x06002F89 RID: 12169
|
||
byte[] ExportCspBlob(bool includePrivateParameters);
|
||
|
||
/// <summary>Imports a blob that represents asymmetric key information. </summary>
|
||
/// <param name="rawData">A byte array that represents an asymmetric key blob.</param>
|
||
// Token: 0x06002F8A RID: 12170
|
||
void ImportCspBlob(byte[] rawData);
|
||
|
||
/// <summary>Gets a <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</summary>
|
||
/// <returns>A <see cref="T:System.Security.Cryptography.CspKeyContainerInfo" /> object that describes additional information about a cryptographic key pair.</returns>
|
||
// Token: 0x17000967 RID: 2407
|
||
// (get) Token: 0x06002F8B RID: 12171
|
||
CspKeyContainerInfo CspKeyContainerInfo { get; }
|
||
}
|
||
}
|