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: 0x02000417 RID: 1047
[Token(Token = "0x2000417")]
[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: 0x0600243D RID: 9277 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600243D")]
[Address(RVA = "0xC10D20", Offset = "0xC0FD20", VA = "0x180C10D20")]
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: 0x1700052D RID: 1325
// (get) Token: 0x0600243E RID: 9278 RVA: 0x00016F80 File Offset: 0x00015180
// (set) Token: 0x0600243F RID: 9279 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700052D")]
public override int EffectiveKeySize
{
[Token(Token = "0x600243E")]
[Address(RVA = "0x42B830", Offset = "0x42A830", VA = "0x18042B830", Slot = "28")]
get
{
return 0;
}
[Token(Token = "0x600243F")]
[Address(RVA = "0xC10EB0", Offset = "0xC0FEB0", VA = "0x180C10EB0", 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: 0x1700052E RID: 1326
// (get) Token: 0x06002440 RID: 9280 RVA: 0x00016F98 File Offset: 0x00015198
// (set) Token: 0x06002441 RID: 9281 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700052E")]
[ComVisible(false)]
public bool UseSalt
{
[Token(Token = "0x6002440")]
[Address(RVA = "0x41CF80", Offset = "0x41BF80", VA = "0x18041CF80")]
get
{
return default(bool);
}
[Token(Token = "0x6002441")]
[Address(RVA = "0x41D090", Offset = "0x41C090", VA = "0x18041D090")]
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: 0x06002442 RID: 9282 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002442")]
[Address(RVA = "0xC10A70", Offset = "0xC0FA70", VA = "0x180C10A70", 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: 0x06002443 RID: 9283 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002443")]
[Address(RVA = "0xC109B0", Offset = "0xC0F9B0", VA = "0x180C109B0", Slot = "25")]
public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV)
{
return null;
}
/// Generates a random key () to be used for the algorithm.
// Token: 0x06002444 RID: 9284 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002444")]
[Address(RVA = "0xC10BC0", Offset = "0xC0FBC0", VA = "0x180C10BC0", Slot = "26")]
public override void GenerateKey()
{
}
/// Generates a random initialization vector () to use for the algorithm.
// Token: 0x06002445 RID: 9285 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002445")]
[Address(RVA = "0xC10B30", Offset = "0xC0FB30", VA = "0x180C10B30", Slot = "27")]
public override void GenerateIV()
{
}
// Token: 0x0400143E RID: 5182
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400143E")]
private bool m_use40bitSalt;
// Token: 0x0400143F RID: 5183
[Token(Token = "0x400143F")]
private static KeySizes[] s_legalKeySizes;
}
}