using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Represents the abstract base class from which all implementations of asymmetric algorithms must inherit. // Token: 0x020003EA RID: 1002 [Token(Token = "0x20003EA")] [ComVisible(true)] public abstract class AsymmetricAlgorithm : IDisposable { /// Initializes a new instance of the class. /// The implementation of the derived class is not valid. // Token: 0x06002309 RID: 8969 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002309")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] protected AsymmetricAlgorithm() { } /// Releases all resources used by the current instance of the class. // Token: 0x0600230A RID: 8970 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600230A")] [Address(RVA = "0xBFED30", Offset = "0xBFDD30", VA = "0x180BFED30", Slot = "4")] public void Dispose() { } /// Releases all resources used by the class. // Token: 0x0600230B RID: 8971 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600230B")] [Address(RVA = "0xBFED30", Offset = "0xBFDD30", VA = "0x180BFED30")] public void Clear() { } /// Releases the unmanaged resources used by the class and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // 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) { } /// Gets or sets the size, in bits, of the key modulus used by the asymmetric algorithm. /// The size, in bits, of the key modulus used by the asymmetric algorithm. /// The key modulus size is invalid. // 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 { } } /// Gets the key sizes that are supported by the asymmetric algorithm. /// An array that contains the key sizes supported by the asymmetric algorithm. // 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; } } /// When implemented in a derived class, gets the name of the signature algorithm. Otherwise, always throws a . /// The name of the signature algorithm. // 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; } } /// When overridden in a derived class, gets the name of the key exchange algorithm. Otherwise, throws an . /// The name of the key exchange algorithm. // 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; } } /// Creates a default cryptographic object used to perform the asymmetric algorithm. /// A new instance, unless the default settings have been changed with the <cryptoClass> element. // 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; } /// Creates an instance of the specified implementation of an asymmetric algorithm. /// The asymmetric algorithm implementation to use. The following table shows the valid values for the parameter and the algorithms they map to. /// Parameter value /// /// Implements /// /// System.Security.Cryptography.AsymmetricAlgorithm /// /// RSA /// /// System.Security.Cryptography.RSA /// /// DSA /// /// System.Security.Cryptography.DSA /// /// ECDsa /// /// ECDsaCng /// /// System.Security.Cryptography.ECDsaCng /// /// ECDH /// /// ECDiffieHellman /// /// ECDiffieHellmanCng /// /// System.Security.Cryptography.ECDiffieHellmanCng /// /// /// A new instance of the specified asymmetric algorithm implementation. // 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; } /// When overridden in a derived class, reconstructs an object from an XML string. Otherwise, throws a . /// The XML string to use to reconstruct the object. // 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) { } /// When overridden in a derived class, creates and returns an XML string representation of the current object. Otherwise, throws a . /// /// to include private parameters; otherwise, . /// An XML string encoding of the current object. // 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; } /// Represents the size, in bits, of the key modulus used by the asymmetric algorithm. // Token: 0x040013B4 RID: 5044 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x40013B4")] protected int KeySizeValue; /// Specifies the key sizes that are supported by the asymmetric algorithm. // Token: 0x040013B5 RID: 5045 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x40013B5")] protected KeySizes[] LegalKeySizesValue; } }