42 lines
1.9 KiB
C#
42 lines
1.9 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
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: 0x02000440 RID: 1088
|
|
[Token(Token = "0x2000440")]
|
|
[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>
|
|
/// <param name="includePrivateParameters">
|
|
/// <see langword="true" /> to include the private key; otherwise, <see langword="false" />.</param>
|
|
/// <returns>A byte array that contains the key information associated with an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object.</returns>
|
|
// Token: 0x060025E2 RID: 9698
|
|
[Token(Token = "0x60025E2")]
|
|
[Address(Slot = "0")]
|
|
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: 0x060025E3 RID: 9699
|
|
[Token(Token = "0x60025E3")]
|
|
[Address(Slot = "1")]
|
|
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: 0x17000574 RID: 1396
|
|
// (get) Token: 0x060025E4 RID: 9700
|
|
[Token(Token = "0x17000574")]
|
|
CspKeyContainerInfo CspKeyContainerInfo
|
|
{
|
|
[Token(Token = "0x60025E4")]
|
|
[Address(Slot = "2")]
|
|
get;
|
|
}
|
|
}
|
|
}
|