This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,133 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Creates the PKCS#1 key exchange data using <see cref="T:System.Security.Cryptography.RSA" />.</summary>
// Token: 0x02000425 RID: 1061
[Token(Token = "0x2000425")]
[ComVisible(true)]
public class RSAPKCS1KeyExchangeFormatter : AsymmetricKeyExchangeFormatter
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter" /> class.</summary>
// Token: 0x060024EB RID: 9451 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60024EB")]
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
public RSAPKCS1KeyExchangeFormatter()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter" /> class with the specified key.</summary>
/// <param name="key">The instance of the <see cref="T:System.Security.Cryptography.RSA" /> algorithm that holds the public key.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x060024EC RID: 9452 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60024EC")]
[Address(RVA = "0x1025C50", Offset = "0x1024C50", VA = "0x181025C50")]
public RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm key)
{
}
/// <summary>Gets the parameters for the PKCS #1 key exchange.</summary>
/// <returns>An XML string containing the parameters of the PKCS #1 key exchange operation.</returns>
// Token: 0x17000548 RID: 1352
// (get) Token: 0x060024ED RID: 9453 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000548")]
public override string Parameters
{
[Token(Token = "0x60024ED")]
[Address(RVA = "0x1025ED0", Offset = "0x1024ED0", VA = "0x181025ED0", Slot = "4")]
get
{
return null;
}
}
/// <summary>Gets or sets the random number generator algorithm to use in the creation of the key exchange.</summary>
/// <returns>The instance of a random number generator algorithm to use.</returns>
// Token: 0x17000549 RID: 1353
// (get) Token: 0x060024EE RID: 9454 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x060024EF RID: 9455 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000549")]
public RandomNumberGenerator Rng
{
[Token(Token = "0x60024EE")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
[Token(Token = "0x60024EF")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
set
{
}
}
/// <summary>Sets the public key to use for encrypting the key exchange data.</summary>
/// <param name="key">The instance of the <see cref="T:System.Security.Cryptography.RSA" /> algorithm that holds the public key.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> is <see langword="null" />.</exception>
// Token: 0x060024F0 RID: 9456 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60024F0")]
[Address(RVA = "0x1025B90", Offset = "0x1024B90", VA = "0x181025B90", Slot = "5")]
public override void SetKey(AsymmetricAlgorithm key)
{
}
/// <summary>Creates the encrypted key exchange data from the specified input data.</summary>
/// <param name="rgbData">The secret information to be passed in the key exchange.</param>
/// <returns>The encrypted key exchange data to be sent to the intended recipient.</returns>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">
/// <paramref name="rgbData" /> is too big.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicUnexpectedOperationException">The key is <see langword="null" />.</exception>
// Token: 0x060024F1 RID: 9457 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60024F1")]
[Address(RVA = "0x1025890", Offset = "0x1024890", VA = "0x181025890", Slot = "6")]
public override byte[] CreateKeyExchange(byte[] rgbData)
{
return null;
}
/// <summary>Creates the encrypted key exchange data from the specified input data.</summary>
/// <param name="rgbData">The secret information to be passed in the key exchange.</param>
/// <param name="symAlgType">This parameter is not used in the current version.</param>
/// <returns>The encrypted key exchange data to be sent to the intended recipient.</returns>
// Token: 0x060024F2 RID: 9458 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60024F2")]
[Address(RVA = "0x949C70", Offset = "0x948C70", VA = "0x180949C70", Slot = "7")]
public override byte[] CreateKeyExchange(byte[] rgbData, Type symAlgType)
{
return null;
}
// Token: 0x1700054A RID: 1354
// (get) Token: 0x060024F3 RID: 9459 RVA: 0x00017310 File Offset: 0x00015510
[Token(Token = "0x1700054A")]
private bool OverridesEncrypt
{
[Token(Token = "0x60024F3")]
[Address(RVA = "0x1025D10", Offset = "0x1024D10", VA = "0x181025D10")]
get
{
return default(bool);
}
}
// Token: 0x04001485 RID: 5253
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001485")]
private RandomNumberGenerator RngValue;
// Token: 0x04001486 RID: 5254
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001486")]
private RSA _rsaKey;
// Token: 0x04001487 RID: 5255
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001487")]
private bool? _rsaOverridesEncrypt;
}
}