using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the algorithm. This class cannot be inherited. // Token: 0x020003FB RID: 1019 [Token(Token = "0x20003FB")] [ComVisible(true)] public sealed class RC2CryptoServiceProvider : RC2 { /// Initializes a new instance of the class. /// The cryptographic service provider (CSP) cannot be acquired. /// A non-compliant FIPS algorithm was found. // Token: 0x06002231 RID: 8753 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002231")] [Address(RVA = "0x2DAF040", Offset = "0x2DADE40", VA = "0x182DAF040")] public RC2CryptoServiceProvider() { } /// Gets or sets the effective size, in bits, of the secret key used by the algorithm. /// The effective key size, in bits, used by the algorithm. /// The property was set to a value other than the property. // Token: 0x170004B6 RID: 1206 // (get) Token: 0x06002232 RID: 8754 RVA: 0x00014BB0 File Offset: 0x00012DB0 // (set) Token: 0x06002233 RID: 8755 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170004B6")] public override int EffectiveKeySize { [Token(Token = "0x6002232")] [Address(RVA = "0x40FFE0", Offset = "0x40EDE0", VA = "0x18040FFE0", Slot = "28")] get { return 0; } [Token(Token = "0x6002233")] [Address(RVA = "0x2DAF220", Offset = "0x2DAE020", VA = "0x182DAF220", Slot = "29")] set { } } /// Gets or sets a value that determines whether to create a key with an 11-byte-long, zero-value salt. /// /// if the key should be created with an 11-byte-long, zero-value salt; otherwise, . The default is . // Token: 0x170004B7 RID: 1207 // (get) Token: 0x06002234 RID: 8756 RVA: 0x00014BC8 File Offset: 0x00012DC8 // (set) Token: 0x06002235 RID: 8757 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170004B7")] [ComVisible(false)] public bool UseSalt { [Token(Token = "0x6002234")] [Address(RVA = "0x7722A0", Offset = "0x7710A0", VA = "0x1807722A0")] get { return default(bool); } [Token(Token = "0x6002235")] [Address(RVA = "0x781F80", Offset = "0x780D80", VA = "0x180781F80")] set { } } /// Creates a symmetric encryptor object with the specified key () and initialization vector (). /// The secret key to use for the symmetric algorithm. /// The initialization vector to use for the symmetric algorithm. /// A symmetric encryptor object. /// An cipher mode was used. /// -or- /// A cipher mode with a feedback size other than 8 bits was used. /// -or- /// An invalid key size was used. /// -or- /// The algorithm key size was not available. // Token: 0x06002236 RID: 8758 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002236")] [Address(RVA = "0x2DAED90", Offset = "0x2DADB90", VA = "0x182DAED90", Slot = "23")] public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV) { return null; } /// Creates a symmetric decryptor object with the specified key () and initialization vector (). /// The secret key to use for the symmetric algorithm. /// The initialization vector to use for the symmetric algorithm. /// A symmetric decryptor object. /// An cipher mode was used. /// -or- /// A cipher mode with a feedback size other than 8 bits was used. /// -or- /// An invalid key size was used. /// -or- /// The algorithm key size was not available. // Token: 0x06002237 RID: 8759 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002237")] [Address(RVA = "0x2DAECD0", Offset = "0x2DADAD0", VA = "0x182DAECD0", Slot = "25")] public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV) { return null; } /// Generates a random key () to be used for the algorithm. // Token: 0x06002238 RID: 8760 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002238")] [Address(RVA = "0x2DAEEE0", Offset = "0x2DADCE0", VA = "0x182DAEEE0", Slot = "26")] public override void GenerateKey() { } /// Generates a random initialization vector () to use for the algorithm. // Token: 0x06002239 RID: 8761 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002239")] [Address(RVA = "0x2DAEE50", Offset = "0x2DADC50", VA = "0x182DAEE50", Slot = "27")] public override void GenerateIV() { } // Token: 0x0400137B RID: 4987 [global::Cpp2IlInjected.FieldOffset(Offset = "0x50")] [Token(Token = "0x400137B")] private bool m_use40bitSalt; // Token: 0x0400137C RID: 4988 [Token(Token = "0x400137C")] private static KeySizes[] s_legalKeySizes; } }