using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Represents the base class from which all implementations of the algorithm must derive.
// Token: 0x02000416 RID: 1046
[Token(Token = "0x2000416")]
[ComVisible(true)]
public abstract class RC2 : SymmetricAlgorithm
{
/// Initializes a new instance of .
// Token: 0x06002435 RID: 9269 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002435")]
[Address(RVA = "0xC127F0", Offset = "0xC117F0", VA = "0x180C127F0")]
protected RC2()
{
}
/// Gets or sets the effective size of the secret key used by the algorithm in bits.
/// The effective key size used by the algorithm.
/// The effective key size is invalid.
// Token: 0x1700052B RID: 1323
// (get) Token: 0x06002436 RID: 9270 RVA: 0x00016F50 File Offset: 0x00015150
// (set) Token: 0x06002437 RID: 9271 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700052B")]
public virtual int EffectiveKeySize
{
[Token(Token = "0x6002436")]
[Address(RVA = "0xC12890", Offset = "0xC11890", VA = "0x180C12890", Slot = "28")]
get
{
return 0;
}
[Token(Token = "0x6002437")]
[Address(RVA = "0xC128A0", Offset = "0xC118A0", VA = "0x180C128A0", Slot = "29")]
set
{
}
}
/// Gets or sets the size of the secret key used by the algorithm in bits.
/// The size of the secret key used by the algorithm.
/// The value for the RC2 key size is less than the effective key size value.
// Token: 0x1700052C RID: 1324
// (get) Token: 0x06002438 RID: 9272 RVA: 0x00016F68 File Offset: 0x00015168
// (set) Token: 0x06002439 RID: 9273 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700052C")]
public override int KeySize
{
[Token(Token = "0x6002438")]
[Address(RVA = "0x42B830", Offset = "0x42A830", VA = "0x18042B830", Slot = "16")]
get
{
return 0;
}
[Token(Token = "0x6002439")]
[Address(RVA = "0xC129D0", Offset = "0xC119D0", VA = "0x180C129D0", Slot = "17")]
set
{
}
}
/// Creates an instance of a cryptographic object to perform the algorithm.
/// An instance of a cryptographic object.
/// The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
// Token: 0x0600243A RID: 9274 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600243A")]
[Address(RVA = "0xC125A0", Offset = "0xC115A0", VA = "0x180C125A0")]
public new static RC2 Create()
{
return null;
}
/// Creates an instance of a cryptographic object to perform the specified implementation of the algorithm.
/// The name of the specific implementation of to use.
/// An instance of a cryptographic object.
/// The algorithm described by the parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
// Token: 0x0600243B RID: 9275 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600243B")]
[Address(RVA = "0xC125F0", Offset = "0xC115F0", VA = "0x180C125F0")]
public new static RC2 Create(string AlgName)
{
return null;
}
/// Represents the effective size of the secret key used by the algorithm in bits.
// Token: 0x0400143B RID: 5179
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400143B")]
protected int EffectiveKeySizeValue;
// Token: 0x0400143C RID: 5180
[Token(Token = "0x400143C")]
private static KeySizes[] s_legalBlockSizes;
// Token: 0x0400143D RID: 5181
[Token(Token = "0x400143D")]
private static KeySizes[] s_legalKeySizes;
}
}