Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

53 lines
2.1 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Represents the base class from which all asymmetric key exchange deformatters derive.</summary>
// Token: 0x020003EB RID: 1003
[Token(Token = "0x20003EB")]
[ComVisible(true)]
public abstract class AsymmetricKeyExchangeDeformatter
{
/// <summary>Initializes a new instance of <see cref="T:System.Security.Cryptography.AsymmetricKeyExchangeDeformatter" />.</summary>
// Token: 0x06002316 RID: 8982 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002316")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected AsymmetricKeyExchangeDeformatter()
{
}
/// <summary>When overridden in a derived class, gets or sets the parameters for the asymmetric key exchange.</summary>
/// <returns>A string in XML format containing the parameters of the asymmetric key exchange operation.</returns>
// Token: 0x170004F5 RID: 1269
// (get) Token: 0x06002317 RID: 8983
// (set) Token: 0x06002318 RID: 8984
[Token(Token = "0x170004F5")]
public abstract string Parameters
{
[Token(Token = "0x6002317")]
[Address(Slot = "4")]
get;
[Token(Token = "0x6002318")]
[Address(Slot = "5")]
set;
}
/// <summary>When overridden in a derived class, sets the private key to use for decrypting the secret information.</summary>
/// <param name="key">The instance of the implementation of <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> that holds the private key.</param>
// Token: 0x06002319 RID: 8985
[Token(Token = "0x6002319")]
[Address(Slot = "6")]
public abstract void SetKey(AsymmetricAlgorithm key);
/// <summary>When overridden in a derived class, extracts secret information from the encrypted key exchange data.</summary>
/// <param name="rgb">The key exchange data within which the secret information is hidden.</param>
/// <returns>The secret information derived from the key exchange data.</returns>
// Token: 0x0600231A RID: 8986
[Token(Token = "0x600231A")]
[Address(Slot = "7")]
public abstract byte[] DecryptKeyExchange(byte[] rgb);
}
}