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: 0x020003CE RID: 974 [Token(Token = "0x20003CE")] [ComVisible(true)] public abstract class AsymmetricAlgorithm : IDisposable { /// Initializes a new instance of the class. /// The implementation of the derived class is not valid. // Token: 0x060020FD RID: 8445 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60020FD")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected AsymmetricAlgorithm() { } /// Releases all resources used by the current instance of the class. // Token: 0x060020FE RID: 8446 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60020FE")] [Address(RVA = "0x298AFE0", Offset = "0x2989DE0", VA = "0x18298AFE0", Slot = "4")] public void Dispose() { } /// Releases all resources used by the class. // Token: 0x060020FF RID: 8447 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60020FF")] [Address(RVA = "0x298AFE0", Offset = "0x2989DE0", VA = "0x18298AFE0")] 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: 0x06002100 RID: 8448 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002100")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", 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: 0x1700047A RID: 1146 // (get) Token: 0x06002101 RID: 8449 RVA: 0x00014628 File Offset: 0x00012828 // (set) Token: 0x06002102 RID: 8450 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x1700047A")] public virtual int KeySize { [Token(Token = "0x6002101")] [Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560", Slot = "6")] get { return 0; } [Token(Token = "0x6002102")] [Address(RVA = "0x298B2F0", Offset = "0x298A0F0", VA = "0x18298B2F0", 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: 0x1700047B RID: 1147 // (get) Token: 0x06002103 RID: 8451 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700047B")] public virtual KeySizes[] LegalKeySizes { [Token(Token = "0x6002103")] [Address(RVA = "0x298B220", Offset = "0x298A020", VA = "0x18298B220", 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: 0x1700047C RID: 1148 // (get) Token: 0x06002104 RID: 8452 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700047C")] public virtual string SignatureAlgorithm { [Token(Token = "0x6002104")] [Address(RVA = "0x298B2A0", Offset = "0x298A0A0", VA = "0x18298B2A0", 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: 0x1700047D RID: 1149 // (get) Token: 0x06002105 RID: 8453 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x1700047D")] public virtual string KeyExchangeAlgorithm { [Token(Token = "0x6002105")] [Address(RVA = "0x298B1D0", Offset = "0x2989FD0", VA = "0x18298B1D0", 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: 0x06002106 RID: 8454 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002106")] [Address(RVA = "0x298B0E0", Offset = "0x2989EE0", VA = "0x18298B0E0")] 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: 0x06002107 RID: 8455 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002107")] [Address(RVA = "0x298B050", Offset = "0x2989E50", VA = "0x18298B050")] 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: 0x06002108 RID: 8456 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002108")] [Address(RVA = "0x298B130", Offset = "0x2989F30", VA = "0x18298B130", 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: 0x06002109 RID: 8457 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002109")] [Address(RVA = "0x298B180", Offset = "0x2989F80", VA = "0x18298B180", 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: 0x040012F1 RID: 4849 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x40012F1")] protected int KeySizeValue; /// Specifies the key sizes that are supported by the asymmetric algorithm. // Token: 0x040012F2 RID: 4850 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x40012F2")] protected KeySizes[] LegalKeySizesValue; } }