m
This commit is contained in:
@@ -0,0 +1,198 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Represents the abstract base class from which all implementations of asymmetric algorithms must inherit.</summary>
|
||||
// Token: 0x020003EA RID: 1002
|
||||
[Token(Token = "0x20003EA")]
|
||||
[ComVisible(true)]
|
||||
public abstract class AsymmetricAlgorithm : IDisposable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> class.</summary>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The implementation of the derived class is not valid.</exception>
|
||||
// Token: 0x06002309 RID: 8969 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002309")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected AsymmetricAlgorithm()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> class.</summary>
|
||||
// Token: 0x0600230A RID: 8970 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600230A")]
|
||||
[Address(RVA = "0xBFED30", Offset = "0xBFDD30", VA = "0x180BFED30", Slot = "4")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> class.</summary>
|
||||
// Token: 0x0600230B RID: 8971 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600230B")]
|
||||
[Address(RVA = "0xBFED30", Offset = "0xBFDD30", VA = "0x180BFED30")]
|
||||
public void Clear()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> class and optionally releases the managed resources.</summary>
|
||||
/// <param name="disposing">
|
||||
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
||||
// Token: 0x0600230C RID: 8972 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600230C")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm.</summary>
|
||||
/// <returns>The size, in bits, of the key modulus used by the asymmetric algorithm.</returns>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The key modulus size is invalid.</exception>
|
||||
// Token: 0x170004F1 RID: 1265
|
||||
// (get) Token: 0x0600230D RID: 8973 RVA: 0x000169F8 File Offset: 0x00014BF8
|
||||
// (set) Token: 0x0600230E RID: 8974 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004F1")]
|
||||
public virtual int KeySize
|
||||
{
|
||||
[Token(Token = "0x600230D")]
|
||||
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x600230E")]
|
||||
[Address(RVA = "0xBFF040", Offset = "0xBFE040", VA = "0x180BFF040", Slot = "7")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the key sizes that are supported by the asymmetric algorithm.</summary>
|
||||
/// <returns>An array that contains the key sizes supported by the asymmetric algorithm.</returns>
|
||||
// Token: 0x170004F2 RID: 1266
|
||||
// (get) Token: 0x0600230F RID: 8975 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004F2")]
|
||||
public virtual KeySizes[] LegalKeySizes
|
||||
{
|
||||
[Token(Token = "0x600230F")]
|
||||
[Address(RVA = "0xBFEF70", Offset = "0xBFDF70", VA = "0x180BFEF70", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When implemented in a derived class, gets the name of the signature algorithm. Otherwise, always throws a <see cref="T:System.NotImplementedException" />.</summary>
|
||||
/// <returns>The name of the signature algorithm.</returns>
|
||||
// Token: 0x170004F3 RID: 1267
|
||||
// (get) Token: 0x06002310 RID: 8976 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004F3")]
|
||||
public virtual string SignatureAlgorithm
|
||||
{
|
||||
[Token(Token = "0x6002310")]
|
||||
[Address(RVA = "0xBFEFF0", Offset = "0xBFDFF0", VA = "0x180BFEFF0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the name of the key exchange algorithm. Otherwise, throws an <see cref="T:System.NotImplementedException" />.</summary>
|
||||
/// <returns>The name of the key exchange algorithm.</returns>
|
||||
// Token: 0x170004F4 RID: 1268
|
||||
// (get) Token: 0x06002311 RID: 8977 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170004F4")]
|
||||
public virtual string KeyExchangeAlgorithm
|
||||
{
|
||||
[Token(Token = "0x6002311")]
|
||||
[Address(RVA = "0xBFEF20", Offset = "0xBFDF20", VA = "0x180BFEF20", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a default cryptographic object used to perform the asymmetric algorithm.</summary>
|
||||
/// <returns>A new <see cref="T:System.Security.Cryptography.RSACryptoServiceProvider" /> instance, unless the default settings have been changed with the <cryptoClass> element.</returns>
|
||||
// Token: 0x06002312 RID: 8978 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002312")]
|
||||
[Address(RVA = "0xBFEE30", Offset = "0xBFDE30", VA = "0x180BFEE30")]
|
||||
public static AsymmetricAlgorithm Create()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates an instance of the specified implementation of an asymmetric algorithm.</summary>
|
||||
/// <param name="algName">The asymmetric algorithm implementation to use. The following table shows the valid values for the <paramref name="algName" /> parameter and the algorithms they map to.
|
||||
/// Parameter value
|
||||
///
|
||||
/// Implements
|
||||
///
|
||||
/// System.Security.Cryptography.AsymmetricAlgorithm
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> RSA
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.RSA" /> System.Security.Cryptography.RSA
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.RSA" /> DSA
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.DSA" /> System.Security.Cryptography.DSA
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.DSA" /> ECDsa
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.ECDsa" /> ECDsaCng
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.ECDsaCng" /> System.Security.Cryptography.ECDsaCng
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.ECDsaCng" /> ECDH
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.ECDiffieHellman" /> ECDiffieHellman
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.ECDiffieHellman" /> ECDiffieHellmanCng
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.ECDiffieHellmanCng" /> System.Security.Cryptography.ECDiffieHellmanCng
|
||||
///
|
||||
/// <see cref="T:System.Security.Cryptography.ECDiffieHellmanCng" /></param>
|
||||
/// <returns>A new instance of the specified asymmetric algorithm implementation.</returns>
|
||||
// Token: 0x06002313 RID: 8979 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002313")]
|
||||
[Address(RVA = "0xBFEDA0", Offset = "0xBFDDA0", VA = "0x180BFEDA0")]
|
||||
public static AsymmetricAlgorithm Create(string algName)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, reconstructs an <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object from an XML string. Otherwise, throws a <see cref="T:System.NotImplementedException" />.</summary>
|
||||
/// <param name="xmlString">The XML string to use to reconstruct the <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object.</param>
|
||||
// Token: 0x06002314 RID: 8980 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6002314")]
|
||||
[Address(RVA = "0xBFEE80", Offset = "0xBFDE80", VA = "0x180BFEE80", Slot = "11")]
|
||||
public virtual void FromXmlString(string xmlString)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, creates and returns an XML string representation of the current <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object. Otherwise, throws a <see cref="T:System.NotImplementedException" />.</summary>
|
||||
/// <param name="includePrivateParameters">
|
||||
/// <see langword="true" /> to include private parameters; otherwise, <see langword="false" />.</param>
|
||||
/// <returns>An XML string encoding of the current <see cref="T:System.Security.Cryptography.AsymmetricAlgorithm" /> object.</returns>
|
||||
// Token: 0x06002315 RID: 8981 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002315")]
|
||||
[Address(RVA = "0xBFEED0", Offset = "0xBFDED0", VA = "0x180BFEED0", Slot = "12")]
|
||||
public virtual string ToXmlString(bool includePrivateParameters)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Represents the size, in bits, of the key modulus used by the asymmetric algorithm.</summary>
|
||||
// Token: 0x040013B4 RID: 5044
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40013B4")]
|
||||
protected int KeySizeValue;
|
||||
|
||||
/// <summary>Specifies the key sizes that are supported by the asymmetric algorithm.</summary>
|
||||
// Token: 0x040013B5 RID: 5045
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40013B5")]
|
||||
protected KeySizes[] LegalKeySizesValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user